From 4a9fccf76de6d7b9fd7fe60bc73843e5cd024056 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:11:11 +0000 Subject: [PATCH 01/12] Initial plan From 2b70067c56b783bc5e4848e75d586335e3477548 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:18:01 +0000 Subject: [PATCH 02/12] Implement default types=[] and wildcard support - Modified getAutomaticTypeDirectiveNames to return empty array when types is undefined - Added support for "*" wildcard value to opt into old "include all" behavior - Created comprehensive test cases for new functionality Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com> --- src/compiler/moduleNameResolver.ts | 13 +++++++- .../reference/typesOptionDefaultEmpty.js | 18 ++++++++++ .../reference/typesOptionDefaultEmpty.symbols | 8 +++++ .../typesOptionDefaultEmpty.trace.json | 1 + .../reference/typesOptionDefaultEmpty.types | 11 +++++++ .../typesOptionExplicitList.errors.txt | 21 ++++++++++++ .../reference/typesOptionExplicitList.js | 21 ++++++++++++ .../reference/typesOptionExplicitList.symbols | 17 ++++++++++ .../typesOptionExplicitList.trace.json | 12 +++++++ .../reference/typesOptionExplicitList.types | 28 ++++++++++++++++ .../reference/typesOptionWildcard.js | 20 +++++++++++ .../reference/typesOptionWildcard.symbols | 25 ++++++++++++++ .../reference/typesOptionWildcard.trace.json | 22 +++++++++++++ .../reference/typesOptionWildcard.types | 33 +++++++++++++++++++ .../cases/compiler/typesOptionDefaultEmpty.ts | 17 ++++++++++ .../cases/compiler/typesOptionExplicitList.ts | 19 +++++++++++ tests/cases/compiler/typesOptionWildcard.ts | 18 ++++++++++ 17 files changed, 303 insertions(+), 1 deletion(-) create mode 100644 tests/baselines/reference/typesOptionDefaultEmpty.js create mode 100644 tests/baselines/reference/typesOptionDefaultEmpty.symbols create mode 100644 tests/baselines/reference/typesOptionDefaultEmpty.trace.json create mode 100644 tests/baselines/reference/typesOptionDefaultEmpty.types create mode 100644 tests/baselines/reference/typesOptionExplicitList.errors.txt create mode 100644 tests/baselines/reference/typesOptionExplicitList.js create mode 100644 tests/baselines/reference/typesOptionExplicitList.symbols create mode 100644 tests/baselines/reference/typesOptionExplicitList.trace.json create mode 100644 tests/baselines/reference/typesOptionExplicitList.types create mode 100644 tests/baselines/reference/typesOptionWildcard.js create mode 100644 tests/baselines/reference/typesOptionWildcard.symbols create mode 100644 tests/baselines/reference/typesOptionWildcard.trace.json create mode 100644 tests/baselines/reference/typesOptionWildcard.types create mode 100644 tests/cases/compiler/typesOptionDefaultEmpty.ts create mode 100644 tests/cases/compiler/typesOptionExplicitList.ts create mode 100644 tests/cases/compiler/typesOptionWildcard.ts diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index d665072ae51b5..eb839dbea6fdb 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -810,7 +810,18 @@ export function resolvePackageNameToPackageJson( export function getAutomaticTypeDirectiveNames(options: CompilerOptions, host: ModuleResolutionHost): string[] { // Use explicit type list from tsconfig.json if (options.types) { - return options.types; + // Check if the special "*" value is present, which means "include all" + if (options.types.length === 1 && options.types[0] === "*") { + // Fall through to enumerate all packages from typeRoots + } + else { + return options.types; + } + } + else { + // When types is undefined (not specified in tsconfig), default to empty array + // This is a breaking change from the previous behavior which included all @types packages + return emptyArray; } // Walk the primary type lookup locations diff --git a/tests/baselines/reference/typesOptionDefaultEmpty.js b/tests/baselines/reference/typesOptionDefaultEmpty.js new file mode 100644 index 0000000000000..fd82302b500e0 --- /dev/null +++ b/tests/baselines/reference/typesOptionDefaultEmpty.js @@ -0,0 +1,18 @@ +//// [tests/cases/compiler/typesOptionDefaultEmpty.ts] //// + +//// [index.d.ts] +declare var $: { x: number }; + +//// [index.d.ts] +declare var _: { map: any }; + +//// [app.ts] +// With the new default behavior, @types packages are not automatically included +// unless explicitly listed in the types array or imported +const value = 42; + + +//// [app.js] +// With the new default behavior, @types packages are not automatically included +// unless explicitly listed in the types array or imported +var value = 42; diff --git a/tests/baselines/reference/typesOptionDefaultEmpty.symbols b/tests/baselines/reference/typesOptionDefaultEmpty.symbols new file mode 100644 index 0000000000000..0a4ebc7a8da36 --- /dev/null +++ b/tests/baselines/reference/typesOptionDefaultEmpty.symbols @@ -0,0 +1,8 @@ +//// [tests/cases/compiler/typesOptionDefaultEmpty.ts] //// + +=== /app.ts === +// With the new default behavior, @types packages are not automatically included +// unless explicitly listed in the types array or imported +const value = 42; +>value : Symbol(value, Decl(app.ts, 2, 5)) + diff --git a/tests/baselines/reference/typesOptionDefaultEmpty.trace.json b/tests/baselines/reference/typesOptionDefaultEmpty.trace.json new file mode 100644 index 0000000000000..0637a088a01e8 --- /dev/null +++ b/tests/baselines/reference/typesOptionDefaultEmpty.trace.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionDefaultEmpty.types b/tests/baselines/reference/typesOptionDefaultEmpty.types new file mode 100644 index 0000000000000..0acb268826cf9 --- /dev/null +++ b/tests/baselines/reference/typesOptionDefaultEmpty.types @@ -0,0 +1,11 @@ +//// [tests/cases/compiler/typesOptionDefaultEmpty.ts] //// + +=== /app.ts === +// With the new default behavior, @types packages are not automatically included +// unless explicitly listed in the types array or imported +const value = 42; +>value : 42 +> : ^^ +>42 : 42 +> : ^^ + diff --git a/tests/baselines/reference/typesOptionExplicitList.errors.txt b/tests/baselines/reference/typesOptionExplicitList.errors.txt new file mode 100644 index 0000000000000..a927c4e2629c9 --- /dev/null +++ b/tests/baselines/reference/typesOptionExplicitList.errors.txt @@ -0,0 +1,21 @@ +/app.ts(5,1): error TS2304: Cannot find name '_'. + + +==== /tsconfig.json (0 errors) ==== + { "compilerOptions": { "types": ["jquery"] } } + +==== /app.ts (1 errors) ==== + // With "types": ["jquery"], only jquery is included + $.x; + + // lodash is not included, so this should error + _.map; + ~ +!!! error TS2304: Cannot find name '_'. + +==== /node_modules/@types/jquery/index.d.ts (0 errors) ==== + declare var $: { x: number }; + +==== /node_modules/@types/lodash/index.d.ts (0 errors) ==== + declare var _: { map: any }; + \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionExplicitList.js b/tests/baselines/reference/typesOptionExplicitList.js new file mode 100644 index 0000000000000..0afd96752bca6 --- /dev/null +++ b/tests/baselines/reference/typesOptionExplicitList.js @@ -0,0 +1,21 @@ +//// [tests/cases/compiler/typesOptionExplicitList.ts] //// + +//// [index.d.ts] +declare var $: { x: number }; + +//// [index.d.ts] +declare var _: { map: any }; + +//// [app.ts] +// With "types": ["jquery"], only jquery is included +$.x; + +// lodash is not included, so this should error +_.map; + + +//// [app.js] +// With "types": ["jquery"], only jquery is included +$.x; +// lodash is not included, so this should error +_.map; diff --git a/tests/baselines/reference/typesOptionExplicitList.symbols b/tests/baselines/reference/typesOptionExplicitList.symbols new file mode 100644 index 0000000000000..bfaa0fc5dd5a1 --- /dev/null +++ b/tests/baselines/reference/typesOptionExplicitList.symbols @@ -0,0 +1,17 @@ +//// [tests/cases/compiler/typesOptionExplicitList.ts] //// + +=== /app.ts === +// With "types": ["jquery"], only jquery is included +$.x; +>$.x : Symbol(x, Decl(index.d.ts, 0, 16)) +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) + +// lodash is not included, so this should error +_.map; + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: number }; +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) + diff --git a/tests/baselines/reference/typesOptionExplicitList.trace.json b/tests/baselines/reference/typesOptionExplicitList.trace.json new file mode 100644 index 0000000000000..53227101f7da7 --- /dev/null +++ b/tests/baselines/reference/typesOptionExplicitList.trace.json @@ -0,0 +1,12 @@ +[ + "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "File '/node_modules/@types/jquery/package.json' does not exist.", + "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", + "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", + "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist." +] \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionExplicitList.types b/tests/baselines/reference/typesOptionExplicitList.types new file mode 100644 index 0000000000000..3379d52c791ca --- /dev/null +++ b/tests/baselines/reference/typesOptionExplicitList.types @@ -0,0 +1,28 @@ +//// [tests/cases/compiler/typesOptionExplicitList.ts] //// + +=== /app.ts === +// With "types": ["jquery"], only jquery is included +$.x; +>$.x : number +> : ^^^^^^ +>$ : { x: number; } +> : ^^^^^ ^^^ +>x : number +> : ^^^^^^ + +// lodash is not included, so this should error +_.map; +>_.map : any +> : ^^^ +>_ : any +> : ^^^ +>map : any +> : ^^^ + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: number }; +>$ : { x: number; } +> : ^^^^^ ^^^ +>x : number +> : ^^^^^^ + diff --git a/tests/baselines/reference/typesOptionWildcard.js b/tests/baselines/reference/typesOptionWildcard.js new file mode 100644 index 0000000000000..3c9ceef04b35c --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcard.js @@ -0,0 +1,20 @@ +//// [tests/cases/compiler/typesOptionWildcard.ts] //// + +//// [index.d.ts] +declare var $: { x: number }; + +//// [index.d.ts] +declare var _: { map: any }; + +//// [app.ts] +// With "types": ["*"], all @types packages are automatically included +// This is the opt-in to the old behavior +$.x; +_.map; + + +//// [app.js] +// With "types": ["*"], all @types packages are automatically included +// This is the opt-in to the old behavior +$.x; +_.map; diff --git a/tests/baselines/reference/typesOptionWildcard.symbols b/tests/baselines/reference/typesOptionWildcard.symbols new file mode 100644 index 0000000000000..4d31a30ec7d95 --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcard.symbols @@ -0,0 +1,25 @@ +//// [tests/cases/compiler/typesOptionWildcard.ts] //// + +=== /app.ts === +// With "types": ["*"], all @types packages are automatically included +// This is the opt-in to the old behavior +$.x; +>$.x : Symbol(x, Decl(index.d.ts, 0, 16)) +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) + +_.map; +>_.map : Symbol(map, Decl(index.d.ts, 0, 16)) +>_ : Symbol(_, Decl(index.d.ts, 0, 11)) +>map : Symbol(map, Decl(index.d.ts, 0, 16)) + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: number }; +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) + +=== /node_modules/@types/lodash/index.d.ts === +declare var _: { map: any }; +>_ : Symbol(_, Decl(index.d.ts, 0, 11)) +>map : Symbol(map, Decl(index.d.ts, 0, 16)) + diff --git a/tests/baselines/reference/typesOptionWildcard.trace.json b/tests/baselines/reference/typesOptionWildcard.trace.json new file mode 100644 index 0000000000000..1934501dac3cf --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcard.trace.json @@ -0,0 +1,22 @@ +[ + "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "File '/node_modules/@types/jquery/package.json' does not exist.", + "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", + "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", + "======== Resolving type reference directive 'lodash', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "File '/node_modules/@types/lodash/package.json' does not exist.", + "File '/node_modules/@types/lodash/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/lodash/index.d.ts', result '/node_modules/@types/lodash/index.d.ts'.", + "======== Type reference directive 'lodash' was successfully resolved to '/node_modules/@types/lodash/index.d.ts', primary: true. ========", + "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/node_modules/@types/lodash/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups." +] \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionWildcard.types b/tests/baselines/reference/typesOptionWildcard.types new file mode 100644 index 0000000000000..37fcf5c0d96d5 --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcard.types @@ -0,0 +1,33 @@ +//// [tests/cases/compiler/typesOptionWildcard.ts] //// + +=== /app.ts === +// With "types": ["*"], all @types packages are automatically included +// This is the opt-in to the old behavior +$.x; +>$.x : number +> : ^^^^^^ +>$ : { x: number; } +> : ^^^^^ ^^^ +>x : number +> : ^^^^^^ + +_.map; +>_.map : any +>_ : { map: any; } +> : ^^^^^^^ ^^^ +>map : any +> : ^^^ + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: number }; +>$ : { x: number; } +> : ^^^^^ ^^^ +>x : number +> : ^^^^^^ + +=== /node_modules/@types/lodash/index.d.ts === +declare var _: { map: any }; +>_ : { map: any; } +> : ^^^^^^^ ^^^ +>map : any + diff --git a/tests/cases/compiler/typesOptionDefaultEmpty.ts b/tests/cases/compiler/typesOptionDefaultEmpty.ts new file mode 100644 index 0000000000000..9e49215bd9bc6 --- /dev/null +++ b/tests/cases/compiler/typesOptionDefaultEmpty.ts @@ -0,0 +1,17 @@ +// @traceResolution: true +// @noImplicitReferences: true +// @currentDirectory: / + +// @filename: /tsconfig.json +{} + +// @filename: /node_modules/@types/jquery/index.d.ts +declare var $: { x: number }; + +// @filename: /node_modules/@types/lodash/index.d.ts +declare var _: { map: any }; + +// @filename: /app.ts +// With the new default behavior, @types packages are not automatically included +// unless explicitly listed in the types array or imported +const value = 42; diff --git a/tests/cases/compiler/typesOptionExplicitList.ts b/tests/cases/compiler/typesOptionExplicitList.ts new file mode 100644 index 0000000000000..3a699bb8fafcc --- /dev/null +++ b/tests/cases/compiler/typesOptionExplicitList.ts @@ -0,0 +1,19 @@ +// @traceResolution: true +// @noImplicitReferences: true +// @currentDirectory: / + +// @filename: /tsconfig.json +{ "compilerOptions": { "types": ["jquery"] } } + +// @filename: /node_modules/@types/jquery/index.d.ts +declare var $: { x: number }; + +// @filename: /node_modules/@types/lodash/index.d.ts +declare var _: { map: any }; + +// @filename: /app.ts +// With "types": ["jquery"], only jquery is included +$.x; + +// lodash is not included, so this should error +_.map; diff --git a/tests/cases/compiler/typesOptionWildcard.ts b/tests/cases/compiler/typesOptionWildcard.ts new file mode 100644 index 0000000000000..165b6e30f0321 --- /dev/null +++ b/tests/cases/compiler/typesOptionWildcard.ts @@ -0,0 +1,18 @@ +// @traceResolution: true +// @noImplicitReferences: true +// @currentDirectory: / + +// @filename: /tsconfig.json +{ "compilerOptions": { "types": ["*"] } } + +// @filename: /node_modules/@types/jquery/index.d.ts +declare var $: { x: number }; + +// @filename: /node_modules/@types/lodash/index.d.ts +declare var _: { map: any }; + +// @filename: /app.ts +// With "types": ["*"], all @types packages are automatically included +// This is the opt-in to the old behavior +$.x; +_.map; From 30400496e2ec129d18476bcf9b9106bc34c85bd0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:41:29 +0000 Subject: [PATCH 03/12] Fix tests affected by types default change Updated tests to explicitly specify types they depend on: - Added "types": ["node"] to tests requiring @types/node - Added "types": ["react"] to tests requiring @types/react - Added "types": ["classnames"] to UMD module tests - Added "types": ["*"] to external project test to maintain old behavior - Fixed autoImportPackageJsonFilterExistingImport3 test structure Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com> --- .../unittests/tsserver/typingsInstaller.ts | 2 +- .../reference/jsDeclarationsTypeReferences.js | 19 + .../jsDeclarationsTypeReferences3.js | 23 + .../reference/library-reference-1.trace.json | 7 - .../reference/library-reference-10.trace.json | 8 - .../reference/library-reference-2.trace.json | 9 - .../reference/library-reference-6.trace.json | 5 +- .../reference/library-reference-8.trace.json | 8 +- .../reference/modulePreserve3.errors.txt | 15 - .../reference/modulePreserve3.trace.json | 15 +- ...ion_automaticTypeDirectiveNames.errors.txt | 14 + ...lution_automaticTypeDirectiveNames.symbols | 6 +- ...solution_automaticTypeDirectiveNames.types | 9 +- .../nodeModulesAtTypesPriority.trace.json | 14 - .../reactJsxReactResolvedNodeNext.trace.json | 8 - ...eactJsxReactResolvedNodeNextEsm.trace.json | 8 - ...ceTypesPreferedToPathIfPossible.errors.txt | 14 + .../referenceTypesPreferedToPathIfPossible.js | 2 +- ...renceTypesPreferedToPathIfPossible.symbols | 11 - ...ferenceTypesPreferedToPathIfPossible.types | 33 +- ...Type1(moduleresolution=classic).errors.txt | 6 - ...port1(moduleresolution=classic).errors.txt | 6 - ...stic1(moduleresolution=bundler).trace.json | 11 +- ...ostic1(moduleresolution=node16).trace.json | 9 - .../with-config-with-redirection.js | 8 - .../tsbuild/libraryResolution/with-config.js | 8 - ...iffers-between-projects-for-shared-file.js | 26 +- ...t-resolution-options-referenced-project.js | 89 +- .../with-config-with-redirection.js | 11 - .../libraryResolution/with-config.js | 13 - ...ypes-found-doesn't-crash-under---strict.js | 44 +- ...th-no-backing-types-found-doesn't-crash.js | 18 +- .../with-config-with-redirection.js | 8 - .../tsc/libraryResolution/with-config.js | 8 - .../with-nodeNext-resolution.js | 11 - .../with-config-with-redirection.js | 37 - .../tscWatch/libraryResolution/with-config.js | 33 - .../type-reference-resolutions-reuse.js | 42 - ...-no-notification-from-fs-for-index-file.js | 371 +------- ...le-resolution-changes-to-ambient-module.js | 41 +- ...-added-later-through-finding-definition.js | 1 - ...olution-is-reused-from-different-folder.js | 5 +- .../loads-missing-files-from-disk.js | 34 +- ...-when-timeout-occurs-after-installation.js | 3 +- ...n-timeout-occurs-inbetween-installation.js | 31 +- ...eive-event-for-the-@types-file-addition.js | 1 - .../works-using-legacy-resolution-logic.js | 84 -- ...ed-from-two-different-drives-of-windows.js | 8 +- ...ndle-@types-if-input-file-list-is-empty.js | 42 +- ...ied-with-a-case-insensitive-file-system.js | 3 - ...oImportPackageJsonFilterExistingImport1.js | 114 ++- ...oImportPackageJsonFilterExistingImport2.js | 685 +++++++++------ ...oImportPackageJsonFilterExistingImport3.js | 804 +++++++++--------- .../fourslashServer/autoImportProvider6.js | 55 +- .../autoImportProvider_exportMap5.js | 118 +-- .../autoImportProvider_exportMap6.js | 118 +-- .../autoImportProvider_globalTypingsCache.js | 44 +- .../autoImportReExportFromAmbientModule.js | 107 +-- .../completionsImport_computedSymbolName.js | 151 +--- .../goToSource10_mapFromAtTypes3.js | 55 +- .../goToSource12_callbackParam.js | 55 +- ...goToSource16_callbackParamDifferentFile.js | 86 +- .../goToSource17_AddsFileToProject.js | 86 +- .../goToSource18_reusedFromDifferentFolder.js | 90 +- .../goToSource3_nodeModulesAtTypes.js | 55 +- .../goToSource8_mapFromAtTypes.js | 84 +- .../goToSource9_mapFromAtTypes2.js | 84 +- .../importNameCodeFix_pnpm1.js | 77 +- .../importStatementCompletions_pnpm1.js | 71 +- ...portStatementCompletions_pnpmTransitive.js | 196 +---- .../importSuggestionsCache_coreNodeModules.js | 158 ++-- ...portSuggestionsCache_invalidPackageJson.js | 47 +- ...portSuggestionsCache_moduleAugmentation.js | 140 +-- ...excluding-node_modules-within-a-project.js | 12 +- .../with-config-with-redirection.js | 35 - .../tsserver/libraryResolution/with-config.js | 31 - ...folders-for-default-configured-projects.js | 41 +- .../npm-install-@types-works.js | 1 - ...ectly-when-typings-are-added-or-removed.js | 234 +---- ...enceDirective-contains-UpperCasePackage.js | 160 +--- .../external-projects-duplicate-package.js | 107 +-- ...ere-workspaces-folder-is-hosted-at-root.js | 116 ++- .../typeReferenceDirectives1.trace.json | 3 - .../typeReferenceDirectives10.trace.json | 5 +- .../typeReferenceDirectives12.trace.json | 5 +- .../reference/typeReferenceDirectives13.js | 21 + .../typeReferenceDirectives13.trace.json | 5 +- .../typeReferenceDirectives3.trace.json | 3 - .../typeReferenceDirectives4.trace.json | 3 - .../reference/typeReferenceDirectives5.js | 21 + .../typeReferenceDirectives5.trace.json | 5 +- .../reference/typeReferenceDirectives6.js | 24 + .../typeReferenceDirectives6.trace.json | 3 - .../typeReferenceDirectives7.trace.json | 3 - .../reference/typeReferenceDirectives9.js | 45 + .../typeReferenceDirectives9.trace.json | 5 +- ...mMultipleNodeModulesDirectories.errors.txt | 35 + ...FromMultipleNodeModulesDirectories.symbols | 24 - ...mMultipleNodeModulesDirectories.trace.json | 37 +- ...tsFromMultipleNodeModulesDirectories.types | 62 +- ...romNodeModulesInParentDirectory.errors.txt | 17 + ...tsFromNodeModulesInParentDirectory.symbols | 8 - ...romNodeModulesInParentDirectory.trace.json | 13 +- ...ootsFromNodeModulesInParentDirectory.types | 18 +- .../reference/typingsLookup1.trace.json | 5 +- .../reference/typingsLookup3.errors.txt | 5 +- .../reference/typingsLookup3.symbols | 9 +- .../reference/typingsLookup3.trace.json | 12 +- .../baselines/reference/typingsLookup3.types | 9 +- .../reference/typingsLookup4.trace.json | 39 +- .../reference/typingsLookupAmd.trace.json | 8 +- ...pletionsImport_umdModules1_globalAccess.ts | 2 +- ...letionsImport_umdModules2_moduleExports.ts | 2 +- .../completionsImport_umdModules3_script.ts | 2 +- ...oImportPackageJsonFilterExistingImport3.ts | 3 +- .../fourslash/server/autoImportProvider6.ts | 2 +- .../autoImportReExportFromAmbientModule.ts | 3 +- .../server/importNameCodeFix_pnpm1.ts | 2 +- .../importStatementCompletions_pnpm1.ts | 2 +- .../importSuggestionsCache_coreNodeModules.ts | 3 +- ...portSuggestionsCache_invalidPackageJson.ts | 1 + 121 files changed, 1830 insertions(+), 4103 deletions(-) delete mode 100644 tests/baselines/reference/modulePreserve3.errors.txt create mode 100644 tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt create mode 100644 tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt create mode 100644 tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt create mode 100644 tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt diff --git a/src/testRunner/unittests/tsserver/typingsInstaller.ts b/src/testRunner/unittests/tsserver/typingsInstaller.ts index 9d8747a45f245..b89c91b54f3fe 100644 --- a/src/testRunner/unittests/tsserver/typingsInstaller.ts +++ b/src/testRunner/unittests/tsserver/typingsInstaller.ts @@ -222,7 +222,7 @@ describe("unittests:: tsserver:: typingsInstaller:: General functionality", () = }); openExternalProjectForSession({ projectFileName, - options: {}, + options: { types: ["*"] }, rootFiles: [toExternalFile(appJs.path)], typeAcquisition: { enable: true, include: ["node"] }, }, session); diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences.js b/tests/baselines/reference/jsDeclarationsTypeReferences.js index 108297facae19..2ce7d5b13b119 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences.js +++ b/tests/baselines/reference/jsDeclarationsTypeReferences.js @@ -29,3 +29,22 @@ module.exports = { export const thing: Something; import Something_1 = require("fs"); import Something = Something_1.Something; + + +//// [DtsFileErrors] + + +tests/cases/conformance/jsdoc/declarations/out/index.d.ts(2,30): error TS2307: Cannot find module 'fs' or its corresponding type declarations. + + +==== tests/cases/conformance/jsdoc/declarations/out/index.d.ts (1 errors) ==== + export const thing: Something; + import Something_1 = require("fs"); + ~~~~ +!!! error TS2307: Cannot find module 'fs' or its corresponding type declarations. + import Something = Something_1.Something; + +==== node_modules/@types/node/index.d.ts (0 errors) ==== + declare module "fs" { + export class Something {} + } \ No newline at end of file diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences3.js b/tests/baselines/reference/jsDeclarationsTypeReferences3.js index c149fbb82b57d..97b967a9ae770 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences3.js +++ b/tests/baselines/reference/jsDeclarationsTypeReferences3.js @@ -31,3 +31,26 @@ export namespace A { } import Something_1 = require("fs"); import Something = Something_1.Something; + + +//// [DtsFileErrors] + + +tests/cases/conformance/jsdoc/declarations/out/index.d.ts(6,30): error TS2307: Cannot find module 'fs' or its corresponding type declarations. + + +==== tests/cases/conformance/jsdoc/declarations/out/index.d.ts (1 errors) ==== + export namespace A { + namespace B { + let thing: Something; + } + } + import Something_1 = require("fs"); + ~~~~ +!!! error TS2307: Cannot find module 'fs' or its corresponding type declarations. + import Something = Something_1.Something; + +==== node_modules/@types/node/index.d.ts (0 errors) ==== + declare module "fs" { + export class Something {} + } \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-1.trace.json b/tests/baselines/reference/library-reference-1.trace.json index 2404f129b53db..f8b8cf46aa56f 100644 --- a/tests/baselines/reference/library-reference-1.trace.json +++ b/tests/baselines/reference/library-reference-1.trace.json @@ -5,12 +5,5 @@ "File '/src/types/jquery/package.json' does not exist.", "File '/src/types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/types/jquery/index.d.ts', result '/src/types/jquery/index.d.ts'.", - "======== Type reference directive 'jquery' was successfully resolved to '/src/types/jquery/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'jquery', containing file '/.src/__inferred type names__.ts', root directory '/src/types'. ========", - "Resolving with primary search path '/src/types'.", - "File '/src/types/jquery.d.ts' does not exist.", - "File '/src/types/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/src/types/jquery/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/src/types/jquery/index.d.ts', result '/src/types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/src/types/jquery/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-10.trace.json b/tests/baselines/reference/library-reference-10.trace.json index 9dcb7d5c10bbd..154b689247712 100644 --- a/tests/baselines/reference/library-reference-10.trace.json +++ b/tests/baselines/reference/library-reference-10.trace.json @@ -7,13 +7,5 @@ "'package.json' has 'typings' field 'jquery.d.ts' that references '/foo/types/jquery/jquery.d.ts'.", "File '/foo/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/foo/types/jquery/jquery.d.ts', result '/foo/types/jquery/jquery.d.ts'.", - "======== Type reference directive 'jquery' was successfully resolved to '/foo/types/jquery/jquery.d.ts', primary: true. ========", - "======== Resolving type reference directive 'jquery', containing file '/.src/__inferred type names__.ts', root directory '/foo/types'. ========", - "Resolving with primary search path '/foo/types'.", - "File '/foo/types/jquery.d.ts' does not exist.", - "File '/foo/types/jquery/package.json' exists according to earlier cached lookups.", - "'package.json' has 'typings' field 'jquery.d.ts' that references '/foo/types/jquery/jquery.d.ts'.", - "File '/foo/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/foo/types/jquery/jquery.d.ts', result '/foo/types/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/foo/types/jquery/jquery.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-2.trace.json b/tests/baselines/reference/library-reference-2.trace.json index 096520745c723..2d697c9532e86 100644 --- a/tests/baselines/reference/library-reference-2.trace.json +++ b/tests/baselines/reference/library-reference-2.trace.json @@ -8,14 +8,5 @@ "'package.json' has 'types' field 'jquery.d.ts' that references '/types/jquery/jquery.d.ts'.", "File '/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/jquery/jquery.d.ts', result '/types/jquery/jquery.d.ts'.", - "======== Type reference directive 'jquery' was successfully resolved to '/types/jquery/jquery.d.ts', primary: true. ========", - "======== Resolving type reference directive 'jquery', containing file '/test/__inferred type names__.ts', root directory '/types'. ========", - "Resolving with primary search path '/types'.", - "File '/types/jquery.d.ts' does not exist.", - "File '/types/jquery/package.json' exists according to earlier cached lookups.", - "'package.json' does not have a 'typings' field.", - "'package.json' has 'types' field 'jquery.d.ts' that references '/types/jquery/jquery.d.ts'.", - "File '/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/types/jquery/jquery.d.ts', result '/types/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/types/jquery/jquery.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-6.trace.json b/tests/baselines/reference/library-reference-6.trace.json index cde7468e16d44..44d1ab67d48f7 100644 --- a/tests/baselines/reference/library-reference-6.trace.json +++ b/tests/baselines/reference/library-reference-6.trace.json @@ -8,8 +8,5 @@ "File '/node_modules/@types/alpha/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/package.json' does not exist.", "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", - "======== Resolving type reference directive 'alpha', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'alpha' was found in cache from location '/'.", - "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/@types/alpha/index.d.ts', primary: true. ========" + "File '/package.json' does not exist." ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-8.trace.json b/tests/baselines/reference/library-reference-8.trace.json index 4695682aaeb75..f8680758c3882 100644 --- a/tests/baselines/reference/library-reference-8.trace.json +++ b/tests/baselines/reference/library-reference-8.trace.json @@ -26,11 +26,5 @@ "File '/test/types/alpha/package.json' does not exist according to earlier cached lookups.", "File '/test/types/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/test/types/alpha/index.d.ts', result '/test/types/alpha/index.d.ts'.", - "======== Type reference directive 'alpha' was successfully resolved to '/test/types/alpha/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'alpha', containing file '/test/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'alpha' was found in cache from location '/test'.", - "======== Type reference directive 'alpha' was successfully resolved to '/test/types/alpha/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'beta', containing file '/test/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'beta' was found in cache from location '/test'.", - "======== Type reference directive 'beta' was successfully resolved to '/test/types/beta/index.d.ts', primary: true. ========" + "======== Type reference directive 'alpha' was successfully resolved to '/test/types/alpha/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/modulePreserve3.errors.txt b/tests/baselines/reference/modulePreserve3.errors.txt deleted file mode 100644 index 4a322679eb97c..0000000000000 --- a/tests/baselines/reference/modulePreserve3.errors.txt +++ /dev/null @@ -1,15 +0,0 @@ -error TS2688: Cannot find type definition file for 'react'. - The file is in the program because: - Entry point for implicit type library 'react' - - -!!! error TS2688: Cannot find type definition file for 'react'. -!!! error TS2688: The file is in the program because: -!!! error TS2688: Entry point for implicit type library 'react' -==== /node_modules/@types/react/jsx-runtime.d.ts (0 errors) ==== - export namespace JSX {} - -==== /index.tsx (0 errors) ==== - export {}; - (
); - \ No newline at end of file diff --git a/tests/baselines/reference/modulePreserve3.trace.json b/tests/baselines/reference/modulePreserve3.trace.json index 444dc923bd0e1..0a20a8b64107a 100644 --- a/tests/baselines/reference/modulePreserve3.trace.json +++ b/tests/baselines/reference/modulePreserve3.trace.json @@ -12,18 +12,5 @@ "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/react/jsx-runtime.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/react/jsx-runtime.d.ts', result '/node_modules/@types/react/jsx-runtime.d.ts'.", - "======== Module name 'react/jsx-runtime' was successfully resolved to '/node_modules/@types/react/jsx-runtime.d.ts'. ========", - "======== Resolving type reference directive 'react', containing file '/.src/__inferred type names__.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", - "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/react/index.d.ts' does not exist.", - "Looking up in 'node_modules' folder, initial location '/.src'.", - "Searching all ancestor node_modules directories for preferred extensions: Declaration.", - "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "File '/node_modules/react.d.ts' does not exist.", - "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/react.d.ts' does not exist.", - "File '/node_modules/@types/react/index.d.ts' does not exist.", - "======== Type reference directive 'react' was not resolved. ========" + "======== Module name 'react/jsx-runtime' was successfully resolved to '/node_modules/@types/react/jsx-runtime.d.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt new file mode 100644 index 0000000000000..d29804366cec2 --- /dev/null +++ b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt @@ -0,0 +1,14 @@ +/a.ts(1,1): error TS2304: Cannot find name 'a'. + + +==== /a.ts (1 errors) ==== + a; + ~ +!!! error TS2304: Cannot find name 'a'. + +==== /node_modules/@types/.a/index.d.ts (0 errors) ==== + declare const a: number; + +==== /node_modules/@types/a/index.d.ts (0 errors) ==== + declare const a: string; + \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols index 43dc30b3cd88c..506621698788a 100644 --- a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols +++ b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols @@ -1,10 +1,6 @@ //// [tests/cases/compiler/moduleResolution_automaticTypeDirectiveNames.ts] //// === /a.ts === -a; ->a : Symbol(a, Decl(index.d.ts, 0, 13)) -=== /node_modules/@types/a/index.d.ts === -declare const a: string; ->a : Symbol(a, Decl(index.d.ts, 0, 13)) +a; diff --git a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types index 9cf45a8fa177b..66346ecd64aba 100644 --- a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types +++ b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types @@ -2,11 +2,6 @@ === /a.ts === a; ->a : string -> : ^^^^^^ - -=== /node_modules/@types/a/index.d.ts === -declare const a: string; ->a : string -> : ^^^^^^ +>a : any +> : ^^^ diff --git a/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json b/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json index fcbc9b87298c0..b9d09e5206811 100644 --- a/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json +++ b/tests/baselines/reference/nodeModulesAtTypesPriority.trace.json @@ -57,20 +57,6 @@ "File '/packages/a/node_modules/redux/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/packages/a/node_modules/redux/index.d.ts', result '/packages/a/node_modules/redux/index.d.ts'.", "======== Module name 'redux' was successfully resolved to '/packages/a/node_modules/redux/index.d.ts'. ========", - "======== Resolving type reference directive 'react', containing file '/.src/__inferred type names__.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", - "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/react/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/react/index.d.ts', result '/node_modules/@types/react/index.d.ts'.", - "======== Type reference directive 'react' was successfully resolved to '/node_modules/@types/react/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'redux', containing file '/.src/__inferred type names__.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", - "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/node_modules/@types/redux/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/redux/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/redux/index.d.ts', result '/node_modules/@types/redux/index.d.ts'.", - "======== Type reference directive 'redux' was successfully resolved to '/node_modules/@types/redux/index.d.ts', primary: true. ========", "File '/.ts/package.json' does not exist.", "File '/package.json' does not exist according to earlier cached lookups.", "File '/.ts/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json b/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json index 2683c0acc5e32..c8b07a21c5110 100644 --- a/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json +++ b/tests/baselines/reference/reactJsxReactResolvedNodeNext.trace.json @@ -32,14 +32,6 @@ "======== Resolving module './' from '/.src/node_modules/@types/react/jsx-dev-runtime.d.ts'. ========", "Resolution for module './' was found in cache from location '/.src/node_modules/@types/react'.", "======== Module name './' was successfully resolved to '/.src/node_modules/@types/react/index.d.ts' with Package ID '@types/react/ndex.d.ts@0.0.1'. ========", - "======== Resolving type reference directive 'react', containing file '/.src/__inferred type names__.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", - "File '/.src/node_modules/@types/react/package.json' exists according to earlier cached lookups.", - "'package.json' does not have a 'typings' field.", - "'package.json' has 'types' field 'index.d.ts' that references '/.src/node_modules/@types/react/index.d.ts'.", - "File '/.src/node_modules/@types/react/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/.src/node_modules/@types/react/index.d.ts', result '/.src/node_modules/@types/react/index.d.ts'.", - "======== Type reference directive 'react' was successfully resolved to '/.src/node_modules/@types/react/index.d.ts' with Package ID '@types/react/index.d.ts@0.0.1', primary: true. ========", "File '/.ts/package.json' does not exist.", "File '/package.json' does not exist according to earlier cached lookups.", "File '/.ts/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json b/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json index 7500fdec0948c..c9cfdf1aad3b4 100644 --- a/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json +++ b/tests/baselines/reference/reactJsxReactResolvedNodeNextEsm.trace.json @@ -32,14 +32,6 @@ "======== Resolving module './' from '/.src/node_modules/@types/react/jsx-dev-runtime.d.ts'. ========", "Resolution for module './' was found in cache from location '/.src/node_modules/@types/react'.", "======== Module name './' was successfully resolved to '/.src/node_modules/@types/react/index.d.ts' with Package ID '@types/react/ndex.d.ts@0.0.1'. ========", - "======== Resolving type reference directive 'react', containing file '/.src/__inferred type names__.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", - "File '/.src/node_modules/@types/react/package.json' exists according to earlier cached lookups.", - "'package.json' does not have a 'typings' field.", - "'package.json' has 'types' field 'index.d.ts' that references '/.src/node_modules/@types/react/index.d.ts'.", - "File '/.src/node_modules/@types/react/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/.src/node_modules/@types/react/index.d.ts', result '/.src/node_modules/@types/react/index.d.ts'.", - "======== Type reference directive 'react' was successfully resolved to '/.src/node_modules/@types/react/index.d.ts' with Package ID '@types/react/index.d.ts@0.0.1', primary: true. ========", "File '/.ts/package.json' does not exist.", "File '/package.json' does not exist.", "File '/.ts/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt new file mode 100644 index 0000000000000..206f1d2fc6383 --- /dev/null +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt @@ -0,0 +1,14 @@ +usage.ts(1,23): error TS2307: Cannot find module 'url' or its corresponding type declarations. + + +==== usage.ts (1 errors) ==== + import { parse } from "url"; + ~~~~~ +!!! error TS2307: Cannot find module 'url' or its corresponding type declarations. + export const thing = () => parse(); + +==== node_modules/@types/node/index.d.ts (0 errors) ==== + declare module "url" { + export class Url {} + export function parse(): Url; + } \ No newline at end of file diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js index 5c423dfd0b560..37a4881f241ad 100644 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js @@ -20,4 +20,4 @@ exports.thing = thing; //// [usage.d.ts] -export declare const thing: () => import("url").Url; +export declare const thing: () => any; diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols index 97521d6d025ca..773b08850aa4c 100644 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols @@ -8,14 +8,3 @@ export const thing = () => parse(); >thing : Symbol(thing, Decl(usage.ts, 1, 12)) >parse : Symbol(parse, Decl(usage.ts, 0, 8)) -=== node_modules/@types/node/index.d.ts === -declare module "url" { ->"url" : Symbol("url", Decl(index.d.ts, 0, 0)) - - export class Url {} ->Url : Symbol(Url, Decl(index.d.ts, 0, 22)) - - export function parse(): Url; ->parse : Symbol(parse, Decl(index.d.ts, 1, 23)) ->Url : Symbol(Url, Decl(index.d.ts, 0, 22)) -} diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types index 38494113a2a37..862a1650f630e 100644 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types @@ -2,29 +2,16 @@ === usage.ts === import { parse } from "url"; ->parse : () => import("url").Url -> : ^^^^^^ ^^^^^ ^^^ +>parse : any +> : ^^^ export const thing = () => parse(); ->thing : () => import("url").Url -> : ^^^^^^^^^^^^^^^^^^^^^^^ ->() => parse() : () => import("url").Url -> : ^^^^^^^^^^^^^^^^^^^^^^^ ->parse() : import("url").Url -> : ^^^^^^^^^^^^^^^^^ ->parse : () => import("url").Url -> : ^^^^^^ ^^^^^ ^^^ +>thing : () => any +> : ^^^^^^^^^ +>() => parse() : () => any +> : ^^^^^^^^^ +>parse() : any +> : ^^^ +>parse : any +> : ^^^ -=== node_modules/@types/node/index.d.ts === -declare module "url" { ->"url" : typeof import("url") -> : ^^^^^^^^^^^^^^^^^^^^ - - export class Url {} ->Url : Url -> : ^^^ - - export function parse(): Url; ->parse : () => Url -> : ^^^^^^ -} diff --git a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=classic).errors.txt b/tests/baselines/reference/resolutionModeImportType1(moduleresolution=classic).errors.txt index 7de26d273b827..a8da8abbfd01a 100644 --- a/tests/baselines/reference/resolutionModeImportType1(moduleresolution=classic).errors.txt +++ b/tests/baselines/reference/resolutionModeImportType1(moduleresolution=classic).errors.txt @@ -1,15 +1,9 @@ -error TS2688: Cannot find type definition file for 'foo'. - The file is in the program because: - Entry point for implicit type library 'foo' error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /app.ts(1,30): error TS2792: Cannot find module 'foo'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? /app.ts(2,29): error TS2792: Cannot find module 'foo'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? /app.ts(3,30): error TS2792: Cannot find module 'foo'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -!!! error TS2688: Cannot find type definition file for 'foo'. -!!! error TS2688: The file is in the program because: -!!! error TS2688: Entry point for implicit type library 'foo' !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /node_modules/@types/foo/package.json (0 errors) ==== { diff --git a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=classic).errors.txt b/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=classic).errors.txt index a5ade620990a9..66320555896c6 100644 --- a/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=classic).errors.txt +++ b/tests/baselines/reference/resolutionModeTypeOnlyImport1(moduleresolution=classic).errors.txt @@ -1,15 +1,9 @@ -error TS2688: Cannot find type definition file for 'foo'. - The file is in the program because: - Entry point for implicit type library 'foo' error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. /app.ts(1,35): error TS2792: Cannot find module 'foo'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? /app.ts(2,34): error TS2792: Cannot find module 'foo'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? /app.ts(3,35): error TS2792: Cannot find module 'foo'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? -!!! error TS2688: Cannot find type definition file for 'foo'. -!!! error TS2688: The file is in the program because: -!!! error TS2688: Entry point for implicit type library 'foo' !!! error TS5107: Option 'moduleResolution=classic' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. ==== /node_modules/@types/foo/package.json (0 errors) ==== { diff --git a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json index 017aa1e3dd9d7..92097df41f307 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json @@ -108,14 +108,5 @@ "File '/node_modules/@types/bar/index.d.ts' exists - use it as a name resolution result.", "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/bar/index.mjs', result '/node_modules/bar/index.mjs'.", - "======== Module name 'bar' was successfully resolved to '/node_modules/bar/index.mjs' with Package ID 'bar/index.mjs@1.0.0'. ========", - "======== Resolving type reference directive 'bar', containing file '/.src/__inferred type names__.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", - "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/node_modules/@types/bar/package.json' exists according to earlier cached lookups.", - "'package.json' does not have a 'typings' field.", - "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/@types/bar/index.d.ts'.", - "File '/node_modules/@types/bar/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/bar/index.d.ts', result '/node_modules/@types/bar/index.d.ts'.", - "======== Type reference directive 'bar' was successfully resolved to '/node_modules/@types/bar/index.d.ts' with Package ID '@types/bar/index.d.ts@1.0.0', primary: true. ========" + "======== Module name 'bar' was successfully resolved to '/node_modules/bar/index.mjs' with Package ID 'bar/index.mjs@1.0.0'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json index a7bab2c4e01e2..f4f5238584cdf 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=node16).trace.json @@ -98,15 +98,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/bar/index.mjs', result '/node_modules/bar/index.mjs'.", "======== Module name 'bar' was successfully resolved to '/node_modules/bar/index.mjs' with Package ID 'bar/index.mjs@1.0.0'. ========", - "======== Resolving type reference directive 'bar', containing file '/.src/__inferred type names__.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", - "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/node_modules/@types/bar/package.json' exists according to earlier cached lookups.", - "'package.json' does not have a 'typings' field.", - "'package.json' has 'types' field 'index.d.ts' that references '/node_modules/@types/bar/index.d.ts'.", - "File '/node_modules/@types/bar/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/bar/index.d.ts', result '/node_modules/@types/bar/index.d.ts'.", - "======== Type reference directive 'bar' was successfully resolved to '/node_modules/@types/bar/index.d.ts' with Package ID '@types/bar/index.d.ts@1.0.0', primary: true. ========", "File '/.ts/package.json' does not exist.", "File '/package.json' does not exist according to earlier cached lookups.", "File '/.ts/package.json' does not exist according to earlier cached lookups.", diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js index a5061838ffc72..01c28c89beac8 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js @@ -240,13 +240,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -291,7 +284,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspace/projects/project2/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js index 7e62ffecd9314..d54a6fbf48ae5 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js @@ -130,13 +130,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspace/projects/project1/tsconfig.json'... -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ../../tslibs/TS/Lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -158,7 +151,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspace/projects/project2/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js index 0bd937e5cc109..f631e358c334f 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 @@ -63,23 +63,10 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/a/tsconfig.json'... -======== Resolving type reference directive 'pg', containing file '/home/src/workspaces/project/a/__inferred type names__.ts', root directory '/home/src/workspaces/project/a/node_modules/@types,/home/src/workspaces/project/node_modules/@types,/home/src/workspaces/node_modules/@types,/home/src/node_modules/@types,/home/node_modules/@types,/node_modules/@types'. ======== -Resolving with primary search path '/home/src/workspaces/project/a/node_modules/@types, /home/src/workspaces/project/node_modules/@types, /home/src/workspaces/node_modules/@types, /home/src/node_modules/@types, /home/node_modules/@types, /node_modules/@types'. -Directory '/home/src/workspaces/project/a/node_modules/@types' does not exist, skipping all lookups in it. -Found 'package.json' at '/home/src/workspaces/project/node_modules/@types/pg/package.json'. -'package.json' does not have a 'typesVersions' field. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field 'index.d.ts' that references '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts'. -File '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts', result '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts'. -======== Type reference directive 'pg' was successfully resolved to '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts', primary: true. ======== -File '/home/src/workspaces/project/node_modules/@types/pg/package.json' exists according to earlier cached lookups. ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' a/src/index.ts Matched by default include pattern '**/*' -node_modules/@types/pg/index.d.ts - Entry point for implicit type library 'pg' [HH:MM:SS AM] Project 'b/tsconfig.json' is out of date because output file 'b/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/project/b/tsconfig.json'... @@ -95,22 +82,14 @@ Loading module 'pg' from 'node_modules' folder, target file types: TypeScript, J Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/workspaces/project/b/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/src/workspaces/project/b/node_modules' does not exist, skipping all lookups in it. -File '/home/src/workspaces/project/node_modules/@types/pg/package.json' exists according to earlier cached lookups. +Found 'package.json' at '/home/src/workspaces/project/node_modules/@types/pg/package.json'. +'package.json' does not have a 'typesVersions' field. 'package.json' does not have a 'typings' field. 'package.json' has 'types' field 'index.d.ts' that references '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts'. File '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts' exists - use it as a name resolution result. 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'. ======== Module name 'pg' was successfully resolved to '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts'. ======== File '/home/src/workspaces/project/node_modules/@types/pg/package.json' exists according to earlier cached lookups. -======== Resolving type reference directive 'pg', containing file '/home/src/workspaces/project/b/__inferred type names__.ts', root directory '/home/src/workspaces/project/b/node_modules/@types,/home/src/workspaces/project/node_modules/@types,/home/src/workspaces/node_modules/@types,/home/src/node_modules/@types,/home/node_modules/@types,/node_modules/@types'. ======== -Resolving with primary search path '/home/src/workspaces/project/b/node_modules/@types, /home/src/workspaces/project/node_modules/@types, /home/src/workspaces/node_modules/@types, /home/src/node_modules/@types, /home/node_modules/@types, /node_modules/@types'. -Directory '/home/src/workspaces/project/b/node_modules/@types' does not exist, skipping all lookups in it. -File '/home/src/workspaces/project/node_modules/@types/pg/package.json' exists according to earlier cached lookups. -'package.json' does not have a 'typings' field. -'package.json' has 'types' field 'index.d.ts' that references '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts'. -File '/home/src/workspaces/project/node_modules/@types/pg/index.d.ts' exists - use it as a name resolution result. -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/tslibs/TS/Lib/package.json' does not exist. File '/home/src/tslibs/TS/package.json' does not exist. File '/home/src/tslibs/package.json' does not exist. @@ -121,7 +100,6 @@ File '/package.json' does not exist. Default library for target 'es2022' node_modules/@types/pg/index.d.ts Imported via "pg" from file 'b/src/index.ts' - Entry point for implicit type library 'pg' File is CommonJS module because 'node_modules/@types/pg/package.json' does not have field "type" b/src/index.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index ee3624fd2283b..9766d4ace2c56 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 @@ -63,24 +63,23 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/project/packages/pkg1.tsconfig.json'... -======== Resolving type reference directive 'sometype', containing file '/home/src/workspaces/project/packages/__inferred type names__.ts', root directory '/home/src/workspaces/project/packages/typeroot1'. ======== -Resolving with primary search path '/home/src/workspaces/project/packages/typeroot1'. -File '/home/src/workspaces/project/packages/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspaces/project/packages/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspaces/project/packages/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspaces/project/packages/typeroot1/sometype/index.d.ts', result '/home/src/workspaces/project/packages/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspaces/project/packages/typeroot1/sometype/index.d.ts', primary: true. ======== +packages/pkg1_index.ts:1:22 - error TS2304: Cannot find name 'TheNum'. + +1 export const theNum: TheNum = "type1"; +   ~~~~~~ + [HH:MM:SS AM] Project 'packages/pkg2.tsconfig.json' is out of date because output file 'packages/pkg2.tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspaces/project/packages/pkg2.tsconfig.json'... -======== Resolving type reference directive 'sometype', containing file '/home/src/workspaces/project/packages/__inferred type names__.ts', root directory '/home/src/workspaces/project/packages/typeroot2'. ======== -Resolving with primary search path '/home/src/workspaces/project/packages/typeroot2'. -File '/home/src/workspaces/project/packages/typeroot2/sometype.d.ts' does not exist. -File '/home/src/workspaces/project/packages/typeroot2/sometype/package.json' does not exist. -File '/home/src/workspaces/project/packages/typeroot2/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspaces/project/packages/typeroot2/sometype/index.d.ts', result '/home/src/workspaces/project/packages/typeroot2/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspaces/project/packages/typeroot2/sometype/index.d.ts', primary: true. ======== +packages/pkg2_index.ts:1:22 - error TS2304: Cannot find name 'TheNum2'. + +1 export const theNum: TheNum2 = "type2"; +   ~~~~~~~ + + +Found 2 errors. + //// [/home/src/workspaces/project/packages/pkg1_index.js] @@ -95,14 +94,13 @@ export declare const theNum: TheNum; //// [/home/src/workspaces/project/packages/pkg1.tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-11475605505-export declare const theNum: TheNum;\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg1_index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./pkg1_index.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":21,"length":6,"messageText":"Cannot find name 'TheNum'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./pkg1_index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/pkg1.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ "../../../tslibs/ts/lib/lib.d.ts", - "./pkg1_index.ts", - "./typeroot1/sometype/index.d.ts" + "./pkg1_index.ts" ], "fileInfos": { "../../../tslibs/ts/lib/lib.d.ts": { @@ -121,15 +119,6 @@ export declare const theNum: TheNum; }, "version": "-9601687719-export const theNum: TheNum = \"type1\";", "signature": "-11475605505-export declare const theNum: TheNum;\n" - }, - "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-4557394441-declare type TheNum = \"type1\";", - "affectsGlobalScope": true - }, - "version": "-4557394441-declare type TheNum = \"type1\";", - "signature": "-4557394441-declare type TheNum = \"type1\";", - "affectsGlobalScope": true } }, "root": [ @@ -141,9 +130,23 @@ export declare const theNum: TheNum; "options": { "composite": true }, + "semanticDiagnosticsPerFile": [ + [ + "./pkg1_index.ts", + [ + { + "start": 21, + "length": 6, + "messageText": "Cannot find name 'TheNum'.", + "category": 1, + "code": 2304 + } + ] + ] + ], "latestChangedDtsFile": "./pkg1_index.d.ts", "version": "FakeTSVersion", - "size": 881 + "size": 891 } //// [/home/src/workspaces/project/packages/pkg2_index.js] @@ -158,14 +161,13 @@ export declare const theNum: TheNum2; //// [/home/src/workspaces/project/packages/pkg2.tsconfig.tsbuildinfo] -{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-13622769679-export declare const theNum: TheNum2;\n"},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg2_index.d.ts","version":"FakeTSVersion"} +{"fileNames":["../../../tslibs/ts/lib/lib.d.ts","./pkg2_index.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface 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"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":21,"length":7,"messageText":"Cannot find name 'TheNum2'.","category":1,"code":2304}]]],"latestChangedDtsFile":"./pkg2_index.d.ts","version":"FakeTSVersion"} //// [/home/src/workspaces/project/packages/pkg2.tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ "../../../tslibs/ts/lib/lib.d.ts", - "./pkg2_index.ts", - "./typeroot2/sometype/index.d.ts" + "./pkg2_index.ts" ], "fileInfos": { "../../../tslibs/ts/lib/lib.d.ts": { @@ -184,15 +186,6 @@ export declare const theNum: TheNum2; }, "version": "-12823281204-export const theNum: TheNum2 = \"type2\";", "signature": "-13622769679-export declare const theNum: TheNum2;\n" - }, - "./typeroot2/sometype/index.d.ts": { - "original": { - "version": "-980425686-declare type TheNum2 = \"type2\";", - "affectsGlobalScope": true - }, - "version": "-980425686-declare type TheNum2 = \"type2\";", - "signature": "-980425686-declare type TheNum2 = \"type2\";", - "affectsGlobalScope": true } }, "root": [ @@ -204,10 +197,24 @@ export declare const theNum: TheNum2; "options": { "composite": true }, + "semanticDiagnosticsPerFile": [ + [ + "./pkg2_index.ts", + [ + { + "start": 21, + "length": 7, + "messageText": "Cannot find name 'TheNum2'.", + "category": 1, + "code": 2304 + } + ] + ] + ], "latestChangedDtsFile": "./pkg2_index.d.ts", "version": "FakeTSVersion", - "size": 884 + "size": 895 } -exitCode:: ExitStatus.Success +exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js index bb8581ae9c96b..6b6ec22ee4450 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js @@ -242,13 +242,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -293,7 +286,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspace/projects/project2/tsconfig.json'... @@ -472,7 +464,6 @@ FileWatcher:: Added:: WatchInfo: /home/package.json 2000 undefined package.json FileWatcher:: Added:: WatchInfo: /package.json 2000 undefined package.json file /home/src/workspace/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-scripthost/package.json 2000 undefined package.json file /home/src/workspace/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-es5/package.json 2000 undefined package.json file /home/src/workspace/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1/sometype/package.json 2000 undefined package.json file /home/src/workspace/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined package.json file /home/src/workspace/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project2/tsconfig.json 2000 undefined Config file /home/src/workspace/projects/project2/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project2 1 undefined Wild card directory /home/src/workspace/projects/project2/tsconfig.json @@ -910,8 +901,6 @@ PolledWatches:: {"pollingInterval":2000} /home/src/workspace/projects/package.json: *new* {"pollingInterval":2000} -/home/src/workspace/projects/project1/typeroot1/sometype/package.json: *new* - {"pollingInterval":2000} /package.json: *new* {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js index cef3a0ac2a43d..9ecae841d98f4 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js @@ -132,13 +132,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspace/projects/project1/tsconfig.json'... -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ../../tslibs/TS/Lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -160,7 +153,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Project 'project2/tsconfig.json' is out of date because output file 'project2/tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/home/src/workspace/projects/project2/tsconfig.json'... @@ -210,7 +202,6 @@ FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/file2.ts FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/index.ts 250 undefined Source file /home/src/workspace/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/utils.d.ts 250 undefined Source file /home/src/workspace/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file /home/src/workspace/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1/sometype/package.json 2000 undefined package.json file /home/src/workspace/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project2/tsconfig.json 2000 undefined Config file /home/src/workspace/projects/project2/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project2 1 undefined Wild card directory /home/src/workspace/projects/project2/tsconfig.json Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project2 1 undefined Wild card directory /home/src/workspace/projects/project2/tsconfig.json @@ -605,10 +596,6 @@ export declare const z = 10; } -PolledWatches:: -/home/src/workspace/projects/project1/typeroot1/sometype/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /home/src/workspace/projects/project1/core.d.ts: *new* {} diff --git a/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash-under---strict.js index 6399f99bc1cd1..b18d13df0411e 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 @@ -47,13 +47,23 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js --strict Output:: +src/index.tsx:1:26 - error TS7026: JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists. + +1 export const App = () =>
; +   ~~~~~~~~~~~~~~~~~~ + src/index.tsx:1:26 - error TS7016: 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. 1 export const App = () =>
;    ~~~~~~~~~~~~~~~~~~~~~~~~ +src/index.tsx:1:44 - error TS7026: JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists. -Found 1 error in src/index.tsx:1 +1 export const App = () =>
; +   ~~~~~~ + + +Found 3 errors in the same file, starting at: src/index.tsx:1 @@ -67,14 +77,13 @@ exports.App = App; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"code":7016,"category":1,"messageText":"Could not find a declaration file for module 'react/jsx-runtime'. '/home/src/workspaces/project/node_modules/react/jsx-runtime.js' implicitly has an 'any' type."}]]],"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/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,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":18,"messageText":"JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.","category":1,"code":7026},{"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."},{"start":43,"length":6,"messageText":"JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.","category":1,"code":7026}]]],"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ "../../tslibs/ts/lib/lib.d.ts", - "./src/index.tsx", - "./node_modules/@types/react/index.d.ts" + "./src/index.tsx" ], "fileInfos": { "../../tslibs/ts/lib/lib.d.ts": { @@ -89,17 +98,6 @@ exports.App = App; "./src/index.tsx": { "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;" - }, - "./node_modules/@types/react/index.d.ts": { - "original": { - "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 - }, - "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "signature": "-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": "commonjs" } }, "root": [ @@ -118,18 +116,32 @@ exports.App = App; [ "./src/index.tsx", [ + { + "start": 25, + "length": 18, + "messageText": "JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.", + "category": 1, + "code": 7026 + }, { "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." + }, + { + "start": 43, + "length": 6, + "messageText": "JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.", + "category": 1, + "code": 7026 } ] ] ], "version": "FakeTSVersion", - "size": 1279 + "size": 1268 } diff --git a/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/incremental/react-jsx-emit-mode-with-no-backing-types-found-doesn't-crash.js index cf23bc789738a..63ec38b8dffa4 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 @@ -59,14 +59,13 @@ exports.App = App; //// [/home/src/workspaces/project/tsconfig.tsbuildinfo] -{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"-25093698414-interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"version":"FakeTSVersion"} +{"fileNames":["../../tslibs/ts/lib/lib.d.ts","./src/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},"version":"FakeTSVersion"} //// [/home/src/workspaces/project/tsconfig.tsbuildinfo.readable.baseline.txt] { "fileNames": [ "../../tslibs/ts/lib/lib.d.ts", - "./src/index.tsx", - "./node_modules/@types/react/index.d.ts" + "./src/index.tsx" ], "fileInfos": { "../../tslibs/ts/lib/lib.d.ts": { @@ -81,17 +80,6 @@ exports.App = App; "./src/index.tsx": { "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;" - }, - "./node_modules/@types/react/index.d.ts": { - "original": { - "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 - }, - "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "signature": "-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": "commonjs" } }, "root": [ @@ -106,7 +94,7 @@ exports.App = App; "module": 1 }, "version": "FakeTSVersion", - "size": 1001 + "size": 677 } diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js index 62547089f2b8f..cdedcdf84d158 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js @@ -230,13 +230,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -281,7 +274,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' //// [/home/src/workspace/projects/project1/file.js] diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config.js b/tests/baselines/reference/tsc/libraryResolution/with-config.js index 1fc77968a38f0..dd4f331f87561 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config.js @@ -120,13 +120,6 @@ declare const console: { log(msg: any): void; }; /home/src/tslibs/TS/Lib/tsc.js -p project1 --explainFiles Output:: -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ../../tslibs/TS/Lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -148,7 +141,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' //// [/home/src/tslibs/TS/Lib/lib.es5.d.ts] *Lib* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js index e24b490eb81cf..6c2813aaf5dd4 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js @@ -89,16 +89,6 @@ Exiting conditional exports. Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts', result '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts'. ======== Module name 'yargs' was successfully resolved to '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' with Package ID 'yargs/index.d.ts@17.0.12'. ======== File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists according to earlier cached lookups. -======== Resolving type reference directive 'yargs', containing file '/Users/name/projects/web/__inferred type names__.ts', root directory '/Users/name/projects/web/node_modules/@types,/Users/name/projects/node_modules/@types,/Users/name/node_modules/@types,/Users/node_modules/@types,/node_modules/@types'. ======== -Resolving with primary search path '/Users/name/projects/web/node_modules/@types, /Users/name/projects/node_modules/@types, /Users/name/node_modules/@types, /Users/node_modules/@types, /node_modules/@types'. -File '/Users/name/projects/web/node_modules/@types/yargs/package.json' exists according to earlier cached lookups. -'package.json' does not have a 'typesVersions' field. -'package.json' does not have a 'typings' field. -'package.json' does not have a 'types' field. -'package.json' does not have a 'main' field. -File '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts', result '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts'. -======== Type reference directive 'yargs' was successfully resolved to '/Users/name/projects/web/node_modules/@types/yargs/index.d.ts' with Package ID 'yargs/index.d.ts@17.0.12', primary: true. ======== File '/home/src/tslibs/TS/Lib/package.json' does not exist. File '/home/src/tslibs/TS/package.json' does not exist. File '/home/src/tslibs/package.json' does not exist. @@ -114,7 +104,6 @@ File '/package.json' does not exist according to earlier cached lookups. Default library for target 'es5' node_modules/@types/yargs/index.d.ts Imported via "yargs" from file 'src/bin.ts' with packageId 'yargs/index.d.ts@17.0.12' - Entry point for implicit type library 'yargs' with packageId 'yargs/index.d.ts@17.0.12' src/bin.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Found 1 error. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js index 7acca2e69e307..b26dc4a8fe739 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js @@ -251,15 +251,6 @@ FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@type 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/workspace/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== -DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Failed Lookup Locations -Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Failed Lookup Locations ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -315,7 +306,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 undefined Wild card directory @@ -684,7 +674,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -746,7 +735,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1078,7 +1066,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1322,7 +1309,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. FileWatcher:: Close:: WatchInfo: /home/src/workspace/projects/project1/core.d.ts 250 undefined Source file ../../tslibs/TS/Lib/lib.dom.d.ts @@ -1344,7 +1330,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1669,7 +1654,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. File '/home/src/workspace/projects/node_modules/package.json' does not exist according to earlier cached lookups. @@ -1702,7 +1686,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -2014,13 +1997,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1,/home/src/workspace/projects/project1/typeroot2'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1, /home/src/workspace/projects/project1/typeroot2'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/node_modules/@typescript/lib-dom/index.d.ts'. File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. @@ -2051,7 +2027,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -2235,13 +2210,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2304,7 +2272,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -2648,7 +2615,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. FileWatcher:: Close:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution ../../tslibs/TS/Lib/lib.dom.d.ts @@ -2670,7 +2636,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -3008,7 +2973,6 @@ File '/home/src/workspace/package.json' does not exist according to earlier cach 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. -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. FileWatcher:: Close:: WatchInfo: /home/src/tslibs/TS/Lib/lib.webworker.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined File location affecting resolution @@ -3031,7 +2995,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js index 1106c3bbfe49b..d35e9b2b8f092 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js @@ -137,15 +137,6 @@ FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es5.d.ts 250 undefi 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/workspace/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== -DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Failed Lookup Locations -Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.dom.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Type roots @@ -170,7 +161,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1 1 undefined Wild card directory @@ -486,7 +476,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -696,7 +685,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/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","/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/workspace/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/workspace/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/workspace/projects/project1/tsconfig.json"} -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. FileWatcher:: Close:: WatchInfo: /home/src/workspace/projects/project1/core.d.ts 250 undefined Source file ../../tslibs/TS/Lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' @@ -717,7 +705,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1054,13 +1041,6 @@ 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 '@typescript/lib-es5' was not resolved. ======== -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1,/home/src/workspace/projects/project1/typeroot2'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1, /home/src/workspace/projects/project1/typeroot2'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1118,7 +1098,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1262,13 +1241,6 @@ CreatingProgramWith:: Reusing resolution of module '@typescript/lib-webworker' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. 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. Reusing resolution of module '@typescript/lib-es5' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1320,7 +1292,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1637,7 +1608,6 @@ File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-webworker/index.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. Reusing resolution of module '@typescript/lib-es5' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/node_modules/@typescript/lib-dom/index.d.ts'. File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. @@ -1668,7 +1638,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1979,7 +1948,6 @@ Directory '/node_modules' does not exist, skipping all lookups in it. 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. Reusing resolution of module '@typescript/lib-es5' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/node_modules/@typescript/lib-dom/index.d.ts'. File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. @@ -2009,7 +1977,6 @@ project1/utils.d.ts Matched by default include pattern '**/*' project1/typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' [HH:MM:SS AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js index 7801a65733d31..83c62520acdb1 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/type-reference-resolutions-reuse.js @@ -134,20 +134,6 @@ Directory '/user/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Type reference directive 'pkg1' was not resolved. ======== File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups. -======== Resolving type reference directive 'pkg2', containing file '/user/username/projects/myproject/__inferred type names__.ts', root directory '/user/username/projects/myproject/node_modules/@types,/user/username/projects/node_modules/@types,/user/username/node_modules/@types,/user/node_modules/@types,/node_modules/@types'. ======== -Resolving with primary search path '/user/username/projects/myproject/node_modules/@types, /user/username/projects/node_modules/@types, /user/username/node_modules/@types, /user/node_modules/@types, /node_modules/@types'. -File '/user/username/projects/myproject/node_modules/@types/pkg2/package.json' does not exist. -File '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts' exists - use it as a name resolution result. -Resolving real path for '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts', result '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts'. -======== Type reference directive 'pkg2' was successfully resolved to '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts', primary: true. ======== -File '/user/username/projects/myproject/node_modules/@types/pkg2/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/node_modules/@types/package.json' does not exist. -File '/user/username/projects/myproject/node_modules/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/TS/Lib/package.json' does not exist. File '/home/src/tslibs/TS/package.json' does not exist. File '/home/src/tslibs/package.json' does not exist. @@ -185,12 +171,6 @@ PolledWatches:: {"pollingInterval":2000} /home/src/tslibs/package.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/pkg2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/package.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules: *new* @@ -207,8 +187,6 @@ FsWatches:: {} /user/username/projects/myproject/index.ts: *new* {} -/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts: *new* - {} /user/username/projects/myproject/node_modules/pkg/import.d.ts: *new* {} /user/username/projects/myproject/node_modules/pkg/package.json: *new* @@ -242,7 +220,6 @@ Program files:: /user/username/projects/myproject/a.ts /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/index.ts -/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts No cached semantic diagnostics in the builder:: @@ -251,7 +228,6 @@ Shape signatures in builder refreshed for:: /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) -/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts (used version) exitCode:: ExitStatus.undefined @@ -293,14 +269,6 @@ File '/user/username/projects/package.json' does not exist according to earlier File '/user/username/package.json' does not exist according to earlier cached lookups. File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/node_modules/@types/pkg2/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/node_modules/@types/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. File '/user/username/projects/package.json' does not exist according to earlier cached lookups. File '/user/username/package.json' does not exist according to earlier cached lookups. @@ -332,15 +300,6 @@ File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'pkg' from '/user/username/projects/myproject/index.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1'. Reusing resolution of type reference directive 'pkg1' from '/user/username/projects/myproject/index.ts' of old program, it was not resolved. -Reusing resolution of type reference directive 'pkg2' from '/user/username/projects/myproject/__inferred type names__.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts'. -File '/user/username/projects/myproject/node_modules/@types/pkg2/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/node_modules/@types/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/TS/Lib/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/TS/package.json' does not exist according to earlier cached lookups. File '/home/src/tslibs/package.json' does not exist according to earlier cached lookups. @@ -382,7 +341,6 @@ Program files:: /user/username/projects/myproject/node_modules/pkg/import.d.ts /user/username/projects/myproject/a.ts /user/username/projects/myproject/index.ts -/user/username/projects/myproject/node_modules/@types/pkg2/index.d.ts No cached semantic diagnostics in the builder:: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js index 04016c90983eb..cfbc7fbc38d0a 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 @@ -50,24 +50,17 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/worker.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/worker.ts 250 undefined Source file -DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /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 -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json 2000 undefined File location affecting resolution 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 -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. + +1 process.on("uncaughtException"); +  ~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -79,32 +72,12 @@ process.on("uncaughtException"); PolledWatches:: -/user/username/projects/myproject/node_modules/@types/node/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} -/user/username/projects/myproject/node_modules/@types/node/base.d.ts: *new* - {} -/user/username/projects/myproject/node_modules/@types/node/globals.d.ts: *new* - {} -/user/username/projects/myproject/node_modules/@types/node/index.d.ts: *new* - {} -/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts: *new* - {} /user/username/projects/myproject/tsconfig.json: *new* {} /user/username/projects/myproject/worker.ts: *new* @@ -113,8 +86,6 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject: *new* {} -/user/username/projects/myproject/node_modules: *new* - {} /user/username/projects/myproject/node_modules/@types: *new* {} @@ -130,26 +101,14 @@ Program structureReused: Not Program files:: /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 -/user/username/projects/myproject/node_modules/@types/node/base.d.ts -/user/username/projects/myproject/node_modules/@types/node/index.d.ts Semantic diagnostics in builder refreshed for:: /home/src/tslibs/TS/Lib/lib.d.ts /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 -/user/username/projects/myproject/node_modules/@types/node/base.d.ts -/user/username/projects/myproject/node_modules/@types/node/index.d.ts Shape signatures in builder refreshed for:: /home/src/tslibs/ts/lib/lib.d.ts (used version) /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) -/user/username/projects/myproject/node_modules/@types/node/base.d.ts (used version) -/user/username/projects/myproject/node_modules/@types/node/index.d.ts (used version) exitCode:: ExitStatus.undefined @@ -162,55 +121,31 @@ Input:: //// [/user/username/projects/myproject/node_modules/@types/node/globals.d.ts] deleted Output:: -FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file -Scheduling update -Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory -FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file -Scheduling update -Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory -FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file -Scheduling update -Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory -FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file -Scheduling update -Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -218,9 +153,6 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/node_modules/@types/node/ts3.6 Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -228,9 +160,6 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -238,21 +167,18 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Timeout callback:: count: 2 -30: timerToInvalidateFailedLookupResolutions *new* -31: timerToUpdateProgram *new* +19: timerToInvalidateFailedLookupResolutions *new* +20: timerToUpdateProgram *new* Before running Timeout callback:: count: 2 -30: timerToInvalidateFailedLookupResolutions -31: timerToUpdateProgram +19: timerToInvalidateFailedLookupResolutions +20: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 0 @@ -264,16 +190,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/worker.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/package.json 2000 undefined File location affecting resolution -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/package.json 2000 undefined File location affecting resolution -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution -FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json 2000 undefined File location affecting resolution worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. 1 process.on("uncaughtException"); @@ -283,51 +199,6 @@ FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/ -//// [/user/username/projects/myproject/worker.js] file written with same contents - -PolledWatches:: -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/@types/node/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/tsconfig.json: - {} -/user/username/projects/myproject/worker.ts: - {} - -FsWatches *deleted*:: -/user/username/projects/myproject/node_modules/@types/node/base.d.ts: - {} -/user/username/projects/myproject/node_modules/@types/node/globals.d.ts: - {} -/user/username/projects/myproject/node_modules/@types/node/index.d.ts: - {} -/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject: - {} -/user/username/projects/myproject/node_modules: - {} -/user/username/projects/myproject/node_modules/@types: - {} Program root files: [ @@ -338,17 +209,14 @@ Program options: { "extendedDiagnostics": true, "configFilePath": "/user/username/projects/myproject/tsconfig.json" } -Program structureReused: Not +Program structureReused: SafeModules Program files:: /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.d.ts -/user/username/projects/myproject/worker.ts -Shape signatures in builder refreshed for:: -/user/username/projects/myproject/worker.ts (computed .d.ts) +No shapes updated in the builder:: exitCode:: ExitStatus.undefined @@ -364,9 +232,6 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -374,9 +239,6 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -384,21 +246,18 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Timeout callback:: count: 2 -42: timerToInvalidateFailedLookupResolutions *new* -43: timerToUpdateProgram *new* +28: timerToInvalidateFailedLookupResolutions *new* +29: timerToUpdateProgram *new* Before running Timeout callback:: count: 2 -42: timerToInvalidateFailedLookupResolutions -43: timerToUpdateProgram +28: timerToInvalidateFailedLookupResolutions +29: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 0 @@ -410,12 +269,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/worker.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/mocha/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 -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. 1 process.on("uncaughtException"); @@ -426,38 +279,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undef -PolledWatches:: -/user/username/projects/myproject/node_modules/@types/mocha/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: *new* - {} -/user/username/projects/myproject/tsconfig.json: - {} -/user/username/projects/myproject/worker.ts: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject: - {} -/user/username/projects/myproject/node_modules: - {} -/user/username/projects/myproject/node_modules/@types: - {} - Program root files: [ "/user/username/projects/myproject/worker.ts" @@ -471,13 +292,10 @@ Program structureReused: SafeModules Program files:: /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 Semantic diagnostics in builder refreshed for:: -/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts -Shape signatures in builder refreshed for:: -/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts (used version) +No shapes updated in the builder:: exitCode:: ExitStatus.undefined @@ -490,21 +308,18 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Timeout callback:: count: 2 -46: timerToInvalidateFailedLookupResolutions *new* -47: timerToUpdateProgram *new* +31: timerToInvalidateFailedLookupResolutions *new* +32: timerToUpdateProgram *new* Before running Timeout callback:: count: 2 -46: timerToInvalidateFailedLookupResolutions -47: timerToUpdateProgram +31: timerToInvalidateFailedLookupResolutions +32: timerToUpdateProgram Host is moving to new time After running Timeout callback:: count: 0 @@ -516,51 +331,16 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/worker.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations -Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations -error TS2688: Cannot find type definition file for 'node'. - The file is in the program because: - Entry point for implicit type library 'node' +worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. + +1 process.on("uncaughtException"); +  ~~~~~~~ [HH:MM:SS AM] Found 1 error. Watching for file changes. -PolledWatches:: -/user/username/projects/myproject/node_modules/@types/mocha/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules: *new* - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: - {} -/user/username/projects/myproject/tsconfig.json: - {} -/user/username/projects/myproject/worker.ts: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject: - {} -/user/username/projects/myproject/node_modules: - {} -/user/username/projects/myproject/node_modules/@types: - {} - Program root files: [ "/user/username/projects/myproject/worker.ts" @@ -574,7 +354,6 @@ Program structureReused: SafeModules Program files:: /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 Semantic diagnostics in builder refreshed for:: @@ -609,9 +388,6 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory @@ -619,21 +395,18 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots -DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations -Scheduling invalidateFailedLookup, Cancelled earlier one -Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/node_modules/@types/node/ts3.6 Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Timeout callback:: count: 2 -52: timerToUpdateProgram *new* -54: timerToInvalidateFailedLookupResolutions *new* +36: timerToUpdateProgram *new* +37: timerToInvalidateFailedLookupResolutions *new* Before running Timeout callback:: count: 2 -52: timerToUpdateProgram -54: timerToInvalidateFailedLookupResolutions +36: timerToUpdateProgram +37: timerToInvalidateFailedLookupResolutions After running Timeout callback:: count: 0 Output:: @@ -644,70 +417,18 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/worker.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file -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: /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/node/ts3.6/package.json 2000 undefined File location affecting resolution -DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations -Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. + +1 process.on("uncaughtException"); +  ~~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/user/username/projects/myproject/worker.js] file written with same contents - -PolledWatches:: -/user/username/projects/myproject/node_modules/@types/mocha/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/node/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/node/ts3.6/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/node_modules: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts: - {} -/user/username/projects/myproject/node_modules/@types/node/base.d.ts: *new* - {} -/user/username/projects/myproject/node_modules/@types/node/globals.d.ts: *new* - {} -/user/username/projects/myproject/node_modules/@types/node/index.d.ts: *new* - {} -/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts: *new* - {} -/user/username/projects/myproject/tsconfig.json: - {} -/user/username/projects/myproject/worker.ts: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject: - {} -/user/username/projects/myproject/node_modules: - {} -/user/username/projects/myproject/node_modules/@types: - {} Timeout callback:: count: 0 -54: timerToInvalidateFailedLookupResolutions *deleted* +37: timerToInvalidateFailedLookupResolutions *deleted* Before running Timeout callback:: count: 0 @@ -726,27 +447,9 @@ Program structureReused: SafeModules Program files:: /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 -/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts -/user/username/projects/myproject/node_modules/@types/node/base.d.ts -/user/username/projects/myproject/node_modules/@types/node/index.d.ts Semantic diagnostics in builder refreshed for:: -/home/src/tslibs/TS/Lib/lib.d.ts -/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 -/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts -/user/username/projects/myproject/node_modules/@types/node/base.d.ts -/user/username/projects/myproject/node_modules/@types/node/index.d.ts -Shape signatures in builder refreshed for:: -/user/username/projects/myproject/node_modules/@types/node/globals.d.ts (used version) -/user/username/projects/myproject/worker.ts (computed .d.ts) -/user/username/projects/myproject/node_modules/@types/mocha/index.d.ts (used version) -/user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts (used version) -/user/username/projects/myproject/node_modules/@types/node/base.d.ts (used version) -/user/username/projects/myproject/node_modules/@types/node/index.d.ts (used version) +No shapes updated in the builder:: exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js index 163f8ccd3a270..fed07c225b990 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 @@ -145,37 +145,15 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Found 0 errors. Watching for file changes. +foo.ts:1:21 - error TS2307: Cannot find module 'fs' or its corresponding type declarations. + +1 import * as fs from "fs"; +   ~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/users/username/projects/project/foo.js] file written with same contents - -PolledWatches:: -/users/username/projects/node_modules: - {"pollingInterval":500} -/users/username/projects/node_modules/@types: - {"pollingInterval":500} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/users/username/projects: - {} -/users/username/projects/project: - {} -/users/username/projects/project/foo.ts: - {} -/users/username/projects/project/node_modules/@types/node/index.d.ts: *new* - {} -/users/username/projects/project/node_modules/@types/node/package.json: *new* - {} - -FsWatchesRecursive:: -/users/username/projects/project/node_modules: - {} -/users/username/projects/project/node_modules/@types: - {} Timeout callback:: count: 0 17: timerToInvalidateFailedLookupResolutions *deleted* @@ -191,14 +169,9 @@ Program structureReused: SafeModules Program files:: /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 Semantic diagnostics in builder refreshed for:: -/users/username/projects/project/foo.ts -/users/username/projects/project/node_modules/@types/node/index.d.ts -Shape signatures in builder refreshed for:: -/users/username/projects/project/foo.ts (computed .d.ts) -/users/username/projects/project/node_modules/@types/node/index.d.ts (used version) +No shapes updated in the builder:: exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index 069f8f8f716fe..5c01673f11f5e 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 @@ -102,7 +102,6 @@ Info seq [hh:mm:ss:mss] Files (4) 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 Imported via "yargs" from file 'index.ts' with packageId '@types/yargs/index.d.ts@1.0.0' - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' index.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index 17bb1fbfebe02..16af7ef65116e 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 @@ -85,13 +85,13 @@ 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] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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 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/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] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some 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/some 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -124,7 +124,6 @@ Info seq [hh:mm:ss:mss] Files (5) Imported via "../folder/random" from file 'index.ts' ../node_modules/@types/yargs/index.d.ts Imported via "yargs" from file 'index.ts' with packageId '@types/yargs/index.d.ts@1.0.0' - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' index.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js index 73a4ca7ca5b75..343f0e59090ac 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js @@ -338,22 +338,10 @@ Info seq [hh:mm:ss:mss] directoryExists:: [ }, { "key": "/users/username/projects/project/node_modules/@types", - "count": 2 - }, - { - "key": "/users/username/projects/node_modules/@types", - "count": 2 - }, - { - "key": "/users/username/node_modules/@types", "count": 1 }, { - "key": "/users/node_modules/@types", - "count": 1 - }, - { - "key": "/node_modules/@types", + "key": "/users/username/projects/node_modules/@types", "count": 1 } ] @@ -433,26 +421,6 @@ Info seq [hh:mm:ss:mss] directoryExists:: [ { "key": "/users/username/projects/project", "count": 1 - }, - { - "key": "/users/username/projects/project/node_modules/@types", - "count": 1 - }, - { - "key": "/users/username/projects/node_modules/@types", - "count": 1 - }, - { - "key": "/users/username/node_modules/@types", - "count": 1 - }, - { - "key": "/users/node_modules/@types", - "count": 1 - }, - { - "key": "/node_modules/@types", - "count": 1 } ] Info seq [hh:mm:ss:mss] getDirectories:: [] diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index bb45a0b9c9799..5520b5640cfde 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 @@ -2104,8 +2104,8 @@ Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/user/use 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] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/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/rootfolder/otherfolder/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: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: 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 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -2132,7 +2132,6 @@ Info seq [hh:mm:ss:mss] Files (3) Default library for target 'es5' 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' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index 9d99004937dff..eb1f2accd4f0d 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 @@ -1434,23 +1434,6 @@ Info seq [hh:mm:ss:mss] Files (2) /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/app.ts SVC-1-0 "import _ from 'lodash';" Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json", - "configFile": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json", - "diagnostics": [ - { - "text": "Cannot find type definition file for 'lodash'.\n The file is in the program because:\n Entry point for implicit type library 'lodash'", - "code": 2688, - "category": "error" - } - ] - } - } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) @@ -2279,8 +2262,8 @@ Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/user/use 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] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/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/rootfolder/otherfolder/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: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/lodash/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/node_modules/@types/lodash/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: 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 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: 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 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/user/username/projects/project/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json WatchType: Failed Lookup Locations @@ -2307,22 +2290,10 @@ Info seq [hh:mm:ss:mss] Files (3) Default library for target 'es5' 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' app.ts Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json", - "configFile": "/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json", - "diagnostics": [] - } - } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/user/username/projects/project/a/b/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index 199a3984c01d1..8c089a71ec7ef 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 @@ -307,7 +307,6 @@ Info seq [hh:mm:ss:mss] Files (3) Default library for target 'es5' node_modules/@types/debug/index.d.ts Imported via "debug" from file 'app.ts' - Entry point for implicit type library 'debug' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js index 70e422e01a32b..8262397b39fe1 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js @@ -394,34 +394,6 @@ Info seq [hh:mm:ss:mss] directoryExists:: [ { "key": "/node_modules", "count": 1 - }, - { - "key": "/user/username/projects/project/c/d/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/project/c/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/project/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/node_modules/@types", - "count": 1 - }, - { - "key": "/user/node_modules/@types", - "count": 1 - }, - { - "key": "/node_modules/@types", - "count": 1 } ] Info seq [hh:mm:ss:mss] getDirectories:: [] @@ -480,34 +452,6 @@ Info seq [hh:mm:ss:mss] directoryExists:: [ { "key": "/user/username/projects/project/c", "count": 1 - }, - { - "key": "/user/username/projects/project/c/d/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/project/c/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/project/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/node_modules/@types", - "count": 1 - }, - { - "key": "/user/node_modules/@types", - "count": 1 - }, - { - "key": "/node_modules/@types", - "count": 1 } ] Info seq [hh:mm:ss:mss] getDirectories:: [] @@ -624,34 +568,6 @@ Info seq [hh:mm:ss:mss] directoryExists:: [ { "key": "/user/username/projects/project/c", "count": 1 - }, - { - "key": "/user/username/projects/project/c/d/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/project/c/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/project/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/projects/node_modules/@types", - "count": 1 - }, - { - "key": "/user/username/node_modules/@types", - "count": 1 - }, - { - "key": "/user/node_modules/@types", - "count": 1 - }, - { - "key": "/node_modules/@types", - "count": 1 } ] Info seq [hh:mm:ss:mss] getDirectories:: [] diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index 16f0540db5140..a5556bef0c6a5 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 @@ -147,22 +147,22 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/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: e:/solution/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules/@types/prop-types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/solution/myproject/src 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/solution/myproject/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] DirectoryWatcher:: Added:: WatchInfo: e:/solution/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/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/typescript/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/typescript/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/react-router-dom/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/typescript/node_modules/@types/react-router-dom/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/prop-types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/typescript/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/solution/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: e:/solution/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -185,10 +185,8 @@ Info seq [hh:mm:ss:mss] Files (6) Default library for target 'es5' ../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' ../node_modules/@types/react/index.d.ts Imported via 'react' from file 'app.js' with packageId '@types/react/index.d.ts@16.9.14' - Entry point for implicit type library 'react' with packageId '@types/react/index.d.ts@16.9.14' c:/typescript/node_modules/@types/react/index.d.ts Imported via 'react' from file 'c:/typescript/node_modules/@types/react-router-dom/index.d.ts' with packageId '@types/react/index.d.ts@16.9.14' File redirects to file '../node_modules/@types/react/index.d.ts' diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js index 9de469db9a0f8..f2b7c95444bae 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 @@ -155,17 +155,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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /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 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/a/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/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/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/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 @@ -174,21 +164,15 @@ 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/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/project/a/app.ts SVC-1-0 "let x = 1" - /user/username/projects/project/a/node_modules/@types/typings/lib.d.ts Text-1 "export const x: number" - /user/username/projects/project/a/node_modules/@types/typings/index.d.ts Text-1 "export * from \"./lib\"" ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' app.ts Root file specified for compilation - node_modules/@types/typings/lib.d.ts - Imported via "./lib" from file 'node_modules/@types/typings/index.d.ts' - node_modules/@types/typings/index.d.ts - Entry point for implicit type library 'typings' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/user/username/projects/project/a/tsconfig.json' (Configured) @@ -196,7 +180,7 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -218,24 +202,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/a/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/project/a/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/a/node_modules/@types/typings/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/a/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -246,8 +218,6 @@ FsWatches:: {} FsWatchesRecursive:: -/user/username/projects/project/a/node_modules: *new* - {} /user/username/projects/project/a/node_modules/@types: *new* {} @@ -270,11 +240,3 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* -/user/username/projects/project/a/node_modules/@types/typings/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* -/user/username/projects/project/a/node_modules/@types/typings/lib.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js index 2dd76c46ba54f..9d37dddd044bb 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 @@ -95,8 +95,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/d Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project 1 undefined Config: /Users/username/dev/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/project/types/file2/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Users/username/dev/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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 @@ -114,7 +112,6 @@ Info seq [hh:mm:ss:mss] Files (3) Matched by default include pattern '**/*' types/file2/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'file2' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js index d93c56426aa81..b290c8f825d82 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport1.js @@ -41,12 +41,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -81,7 +75,6 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' index.d.ts Root file specified for compilation - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -131,21 +124,13 @@ watchedFiles:: /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} -watchedDirectories:: -/home/src/workspaces/project/node_modules/@types/react: *new* - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types/react/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types/react/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -216,7 +201,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' node_modules/@types/react/index.d.ts Imported via "react" from file 'index.ts' - Entry point for implicit type library 'react' index.ts Root file specified for compilation @@ -245,15 +229,8 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' index.d.ts Root file specified for compilation - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution @@ -332,29 +309,21 @@ watchedFiles *deleted*:: /home/src/workspaces/project/package.json: {"pollingInterval":2000} -watchedDirectories *deleted*:: -/home/src/workspaces/project/node_modules/@types/react: - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} *new* -/home/src/workspaces/project/node_modules: - {} *new* +/home/src/workspaces/project/node_modules: *new* + {} /home/src/workspaces/project/node_modules/@types: {} *new* watchedDirectoriesRecursive *deleted*:: /home/src/workspaces/node_modules/@types: {} -/home/src/workspaces/project/node_modules: - {} /home/src/workspaces/project/node_modules/@types: {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/react/node_modules: - {} /home/src/workspaces/project/node_modules/@types/react/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -771,14 +740,26 @@ Info seq [hh:mm:ss:mss] request: "command": "syntacticDiagnosticsSync" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts SVC-1-3 "useMemo" - /home/src/workspaces/project/node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + index.ts + Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] response: @@ -794,12 +775,65 @@ Info seq [hh:mm:ss:mss] response: "body": [] } After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/package.json: + {"pollingInterval":250} + {"pollingInterval":2000} +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} + +watchedFiles *deleted*:: +/home/src/workspaces/project/node_modules/@types/package.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/react/package.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/package.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules/@types: + {} +/home/src/workspaces/project/node_modules: + {} +/home/src/workspaces/project/node_modules/@types: + {} + Projects:: /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* dirty: false *changed* - autoImportProviderHost: false + autoImportProviderHost: undefined *changed* + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/workspaces/project/index.ts (Open) + version: SVC-1-3 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 0 *changed* + /dev/null/inferredProject2* *deleted* Info seq [hh:mm:ss:mss] request: { @@ -879,4 +913,10 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 15, "success": true, "body": [] - } \ No newline at end of file + } +After Request +Projects:: +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + autoImportProviderHost: false *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js index a38c6d2ce17cd..a6cbbb4f4b954 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport2.js @@ -40,12 +40,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -80,7 +74,6 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' index.d.ts Root file specified for compilation - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -130,21 +123,13 @@ watchedFiles:: /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} -watchedDirectories:: -/home/src/workspaces/project/node_modules/@types/react: *new* - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types/react/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types/react/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -187,24 +172,17 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts SVC-1-0 "useMemo" - /home/src/workspaces/project/node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" ../../tslibs/TS/Lib/lib.d.ts @@ -215,64 +193,20 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' index.ts Root file specified for compilation - node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/tslibs/TS/Lib/lib.decorators.d.ts - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts - /home/src/workspaces/project/node_modules/@types/react/index.d.ts - - - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' - index.d.ts - Root file specified for compilation - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/node_modules/@types/react/index.d.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: @@ -296,19 +230,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/package.json: - {"pollingInterval":2000} *new* -/home/src/workspaces/project/node_modules/@types/react/package.json: - {"pollingInterval":2000} *new* -/home/src/workspaces/project/node_modules/package.json: - {"pollingInterval":2000} *new* -/home/src/workspaces/project/package.json: - {"pollingInterval":250} *new* - {"pollingInterval":2000} *new* -/home/src/workspaces/project/tsconfig.json: *new* - {"pollingInterval":2000} - -watchedFiles *deleted*:: /home/src/workspaces/project/node_modules/@types/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: @@ -329,42 +250,28 @@ watchedFiles *deleted*:: {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - -watchedDirectories *deleted*:: -/home/src/workspaces/project/node_modules/@types/react: - {} + {"pollingInterval":250} *new* +/home/src/workspaces/project/tsconfig.json: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules/@types: - {} *new* -/home/src/workspaces/project/node_modules: - {} *new* -/home/src/workspaces/project/node_modules/@types: - {} *new* - -watchedDirectoriesRecursive *deleted*:: /home/src/workspaces/node_modules/@types: {} -/home/src/workspaces/project/node_modules: - {} + {} *new* /home/src/workspaces/project/node_modules/@types: {} + {} *new* /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/react/node_modules: - {} /home/src/workspaces/project/node_modules/@types/react/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: {} Projects:: -/dev/null/inferredProject1* (Inferred) *deleted* - projectStateVersion: 2 *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 projectProgramVersion: 1 - dirty: true *changed* - isClosed: true *changed* - isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -373,28 +280,27 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /dev/null/inferredProject1* /dev/null/inferredProject2* *new* - /dev/null/inferredProject1* *deleted* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /dev/null/inferredProject1* /dev/null/inferredProject2* *new* - /dev/null/inferredProject1* *deleted* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /dev/null/inferredProject1* /dev/null/inferredProject2* *new* - /dev/null/inferredProject1* *deleted* /home/src/workspaces/project/index.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) *changed* +/home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 - containingProjects: 1 *changed* - /dev/null/inferredProject2* *default* *new* - /dev/null/inferredProject1* *deleted* + containingProjects: 1 + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -535,6 +441,9 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -544,15 +453,18 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-1 *changed* @@ -561,7 +473,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -589,15 +501,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-2 *changed* @@ -606,7 +521,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -655,15 +570,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-3 *changed* @@ -672,7 +590,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -721,15 +639,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-4 *changed* @@ -738,7 +659,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -787,15 +708,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-5 *changed* @@ -804,7 +728,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -853,15 +777,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-6 *changed* @@ -870,7 +797,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -919,15 +846,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-7 *changed* @@ -936,7 +866,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -985,15 +915,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-8 *changed* @@ -1002,7 +935,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1051,15 +984,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-9 *changed* @@ -1068,7 +1004,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1117,15 +1053,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-10 *changed* @@ -1134,7 +1073,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1183,15 +1122,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-11 *changed* @@ -1200,7 +1142,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1249,15 +1191,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-12 *changed* @@ -1266,7 +1211,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1315,15 +1260,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-13 *changed* @@ -1332,7 +1280,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1381,15 +1329,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-14 *changed* @@ -1398,7 +1349,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1447,15 +1398,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-15 *changed* @@ -1464,7 +1418,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1513,15 +1467,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-16 *changed* @@ -1530,7 +1487,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1579,15 +1536,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-17 *changed* @@ -1596,7 +1556,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1645,15 +1605,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-18 *changed* @@ -1662,7 +1625,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1711,15 +1674,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-19 *changed* @@ -1728,7 +1694,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1777,15 +1743,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-20 *changed* @@ -1794,7 +1763,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1843,15 +1812,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-21 *changed* @@ -1860,7 +1832,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1909,15 +1881,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-22 *changed* @@ -1926,7 +1901,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1975,15 +1950,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-23 *changed* @@ -1992,7 +1970,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2041,15 +2019,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-24 *changed* @@ -2058,7 +2039,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2107,15 +2088,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-25 *changed* @@ -2124,7 +2108,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2173,15 +2157,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-26 *changed* @@ -2190,7 +2177,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2239,15 +2226,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-27 *changed* @@ -2256,7 +2246,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2305,15 +2295,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-28 *changed* @@ -2322,7 +2315,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2371,15 +2364,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-29 *changed* @@ -2388,7 +2384,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2437,15 +2433,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-30 *changed* @@ -2454,7 +2453,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2503,15 +2502,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-31 *changed* @@ -2520,7 +2522,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2569,15 +2571,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-32 *changed* @@ -2586,7 +2591,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2635,15 +2640,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-33 *changed* @@ -2652,7 +2660,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2701,15 +2709,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-34 *changed* @@ -2718,7 +2729,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2779,15 +2790,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-35 *changed* @@ -2796,7 +2810,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2824,15 +2838,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-36 *changed* @@ -2841,7 +2858,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2902,15 +2919,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-37 *changed* @@ -2919,7 +2939,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2949,6 +2969,12 @@ Info seq [hh:mm:ss:mss] request: "command": "syntacticDiagnosticsSync" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -2958,6 +2984,18 @@ Info seq [hh:mm:ss:mss] Files (5) /home/src/workspaces/project/node_modules/@types/react/index.d.ts SVC-1-0 "export declare function useMemo(): void;\nexport declare function useState(): void;" /home/src/workspaces/project/index.ts SVC-1-37 "import { useState } from \"react\";\nuseMemo" + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + node_modules/@types/react/index.d.ts + Imported via "react" from file 'index.ts' + index.ts + Root file specified for compilation + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] response: { @@ -2972,12 +3010,94 @@ Info seq [hh:mm:ss:mss] response: "body": [] } After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* +/home/src/workspaces/project/node_modules/@types/react/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/react/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* +/home/src/workspaces/project/node_modules/@types/react/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/package.json: + {"pollingInterval":2000} + {"pollingInterval":2000} *new* +/home/src/workspaces/project/node_modules/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/package.json: + {"pollingInterval":2000} + {"pollingInterval":250} + {"pollingInterval":2000} *new* +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules/@types: + {} + {} +/home/src/workspaces/project/node_modules: *new* + {} +/home/src/workspaces/project/node_modules/@types: + {} + {} +/home/src/workspaces/project/node_modules/@types/node_modules/@types: + {} +/home/src/workspaces/project/node_modules/@types/react/node_modules/@types: + {} +/home/src/workspaces/project/node_modules/node_modules/@types: + {} + Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* dirty: false *changed* - autoImportProviderHost: false + autoImportProviderHost: undefined *changed* + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /dev/null/inferredProject1* + /dev/null/inferredProject2* +/home/src/workspaces/project/index.ts (Open) + version: SVC-1-37 + containingProjects: 1 + /dev/null/inferredProject2* *default* +/home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) *changed* + version: SVC-1-0 + containingProjects: 2 *changed* + /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* *new* Info seq [hh:mm:ss:mss] request: { @@ -3098,6 +3218,16 @@ Info seq [hh:mm:ss:mss] response: } ] } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 +/dev/null/inferredProject2* (Inferred) *changed* + projectStateVersion: 2 + projectProgramVersion: 2 + autoImportProviderHost: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 83, @@ -3170,6 +3300,9 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 @@ -3179,15 +3312,18 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-38 *changed* @@ -3195,8 +3331,9 @@ ScriptInfos:: /dev/null/inferredProject2* *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject2* *default* + containingProjects: 2 + /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] request: { @@ -3224,15 +3361,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-39 *changed* @@ -3240,5 +3380,6 @@ ScriptInfos:: /dev/null/inferredProject2* *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts (Open) version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject2* *default* + containingProjects: 2 + /dev/null/inferredProject1* *default* + /dev/null/inferredProject2* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js index 57bde7a5e8e22..29958276e466f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js @@ -42,12 +42,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -82,7 +76,6 @@ Info seq [hh:mm:ss:mss] Files (4) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' index.d.ts Root file specified for compilation - Entry point for implicit type library 'node' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -132,19 +125,11 @@ watchedFiles:: /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} -watchedDirectories:: -/home/src/workspaces/project/node_modules/@types/node: *new* - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types/node/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types/node/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* @@ -189,24 +174,17 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts SVC-1-0 "readFile" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts SVC-1-0 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" ../../tslibs/TS/Lib/lib.d.ts @@ -217,64 +195,20 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' index.ts Root file specified for compilation - node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] `remove Project:: Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts - /home/src/tslibs/TS/Lib/lib.decorators.d.ts - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts - /home/src/workspaces/project/node_modules/@types/node/index.d.ts - - - ../../../../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' - index.d.ts - Root file specified for compilation - Entry point for implicit type library 'node' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/node_modules/@types/node/index.d.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] response: @@ -298,19 +232,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/package.json: - {"pollingInterval":2000} *new* -/home/src/workspaces/project/node_modules/@types/package.json: - {"pollingInterval":2000} *new* -/home/src/workspaces/project/node_modules/package.json: - {"pollingInterval":2000} *new* -/home/src/workspaces/project/package.json: - {"pollingInterval":250} *new* - {"pollingInterval":2000} *new* -/home/src/workspaces/project/tsconfig.json: *new* - {"pollingInterval":2000} - -watchedFiles *deleted*:: /home/src/workspaces/project/node_modules/@types/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/node/jsconfig.json: @@ -331,28 +252,17 @@ watchedFiles *deleted*:: {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - -watchedDirectories *deleted*:: -/home/src/workspaces/project/node_modules/@types/node: - {} + {"pollingInterval":250} *new* +/home/src/workspaces/project/tsconfig.json: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: - {} *new* -/home/src/workspaces/project/node_modules: - {} *new* -/home/src/workspaces/project/node_modules/@types: - {} *new* - -watchedDirectoriesRecursive *deleted*:: -/home/src/workspaces/node_modules/@types: - {} -/home/src/workspaces/project/node_modules: {} + {} *new* /home/src/workspaces/project/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/node/node_modules: - {} + {} *new* /home/src/workspaces/project/node_modules/@types/node/node_modules/@types: {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: @@ -361,12 +271,9 @@ watchedDirectoriesRecursive *deleted*:: {} Projects:: -/dev/null/inferredProject1* (Inferred) *deleted* - projectStateVersion: 2 *changed* +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 projectProgramVersion: 1 - dirty: true *changed* - isClosed: true *changed* - isOrphan: true *changed* /dev/null/inferredProject2* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 @@ -375,28 +282,27 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /dev/null/inferredProject1* /dev/null/inferredProject2* *new* - /dev/null/inferredProject1* *deleted* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /dev/null/inferredProject1* /dev/null/inferredProject2* *new* - /dev/null/inferredProject1* *deleted* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* version: Text-1 - containingProjects: 1 *changed* + containingProjects: 2 *changed* + /dev/null/inferredProject1* /dev/null/inferredProject2* *new* - /dev/null/inferredProject1* *deleted* /home/src/workspaces/project/index.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) *changed* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 - containingProjects: 1 *changed* - /dev/null/inferredProject2* *default* *new* - /dev/null/inferredProject1* *deleted* + containingProjects: 1 + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -537,6 +443,9 @@ Info seq [hh:mm:ss:mss] response: } After Request Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 @@ -546,15 +455,18 @@ Projects:: ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-1 *changed* @@ -563,7 +475,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -591,15 +503,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-2 *changed* @@ -608,7 +523,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -657,15 +572,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-3 *changed* @@ -674,7 +592,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -723,15 +641,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-4 *changed* @@ -740,7 +661,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -789,15 +710,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-5 *changed* @@ -806,7 +730,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -855,15 +779,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-6 *changed* @@ -872,7 +799,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -921,15 +848,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-7 *changed* @@ -938,7 +868,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -987,15 +917,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-8 *changed* @@ -1004,7 +937,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1053,15 +986,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-9 *changed* @@ -1070,7 +1006,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1119,15 +1055,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-10 *changed* @@ -1136,7 +1075,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1185,15 +1124,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-11 *changed* @@ -1202,7 +1144,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1251,15 +1193,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-12 *changed* @@ -1268,7 +1213,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1317,15 +1262,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-13 *changed* @@ -1334,7 +1282,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1383,15 +1331,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-14 *changed* @@ -1400,7 +1351,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1449,15 +1400,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-15 *changed* @@ -1466,7 +1420,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1515,15 +1469,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-16 *changed* @@ -1532,7 +1489,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1581,15 +1538,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-17 *changed* @@ -1598,7 +1558,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1647,15 +1607,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-18 *changed* @@ -1664,7 +1627,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1713,15 +1676,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-19 *changed* @@ -1730,7 +1696,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1779,15 +1745,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-20 *changed* @@ -1796,7 +1765,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1845,15 +1814,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-21 *changed* @@ -1862,7 +1834,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1911,15 +1883,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-22 *changed* @@ -1928,7 +1903,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -1977,15 +1952,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-23 *changed* @@ -1994,7 +1972,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2043,15 +2021,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-24 *changed* @@ -2060,7 +2041,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2109,15 +2090,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-25 *changed* @@ -2126,7 +2110,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2175,15 +2159,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-26 *changed* @@ -2192,7 +2179,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2241,15 +2228,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-27 *changed* @@ -2258,7 +2248,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2307,15 +2297,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-28 *changed* @@ -2324,7 +2317,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2373,15 +2366,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-29 *changed* @@ -2390,7 +2386,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2439,15 +2435,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-30 *changed* @@ -2456,7 +2455,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2505,15 +2504,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-31 *changed* @@ -2522,7 +2524,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2571,15 +2573,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-32 *changed* @@ -2588,7 +2593,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2637,15 +2642,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-33 *changed* @@ -2654,7 +2662,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2703,15 +2711,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-34 *changed* @@ -2720,7 +2731,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2769,15 +2780,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-35 *changed* @@ -2786,7 +2800,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2835,15 +2849,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-36 *changed* @@ -2852,7 +2869,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2901,15 +2918,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-37 *changed* @@ -2918,7 +2938,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -2979,15 +2999,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-38 *changed* @@ -2996,7 +3019,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -3024,15 +3047,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-39 *changed* @@ -3041,7 +3067,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -3102,15 +3128,18 @@ After Request ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 1 + containingProjects: 2 + /dev/null/inferredProject1* /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* version: SVC-1-40 *changed* @@ -3119,7 +3148,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) version: SVC-1-0 containingProjects: 1 - /dev/null/inferredProject2* *default* + /dev/null/inferredProject1* *default* Info seq [hh:mm:ss:mss] request: { @@ -3149,14 +3178,14 @@ Info seq [hh:mm:ss:mss] request: "command": "syntacticDiagnosticsSync" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts SVC-1-40 "import { writeFile } from \"node:fs\";\nreadFile" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts SVC-1-0 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] response: @@ -3172,7 +3201,58 @@ Info seq [hh:mm:ss:mss] response: "body": [] } After Request +watchedFiles:: +/home/src/tslibs/TS/Lib/lib.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.d.ts: + {"pollingInterval":500} +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/node/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/node/package.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/node/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/package.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/jsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/package.json: + {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/tsconfig.json: + {"pollingInterval":2000} +/home/src/workspaces/project/package.json: + {"pollingInterval":2000} + {"pollingInterval":250} + {"pollingInterval":2000} *new* +/home/src/workspaces/project/tsconfig.json: + {"pollingInterval":2000} + +watchedDirectoriesRecursive:: +/home/src/workspaces/node_modules/@types: + {} + {} +/home/src/workspaces/project/node_modules/@types: + {} + {} +/home/src/workspaces/project/node_modules/@types/node/node_modules/@types: + {} +/home/src/workspaces/project/node_modules/@types/node_modules/@types: + {} +/home/src/workspaces/project/node_modules/node_modules/@types: + {} + Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 /dev/null/inferredProject2* (Inferred) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* @@ -3197,6 +3277,21 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 86, "success": true, "body": [ + { + "message": "Cannot find module 'node:fs' or its corresponding type declarations.", + "start": 26, + "length": 9, + "category": "error", + "code": 2307, + "startLocation": { + "line": 1, + "offset": 27 + }, + "endLocation": { + "line": 1, + "offset": 36 + } + }, { "message": "Cannot find name 'readFile'.", "start": 37, @@ -3256,12 +3351,12 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "file": "/home/src/workspaces/project/index.ts", - "startLine": 2, - "startOffset": 1, - "endLine": 2, - "endOffset": 9, + "startLine": 1, + "startOffset": 27, + "endLine": 1, + "endOffset": 36, "errorCodes": [ - 2304 + 2307 ] }, "command": "getCodeFixes" @@ -3275,24 +3370,14 @@ Info seq [hh:mm:ss:mss] response: "success": true, "body": [ { - "fixName": "import", - "description": "Update import from \"node:fs\"", - "changes": [ + "fixName": "fixCannotFindModule", + "description": "Install '@types/node'", + "changes": [], + "commands": [ { - "fileName": "/home/src/workspaces/project/index.ts", - "textChanges": [ - { - "start": { - "line": 1, - "offset": 10 - }, - "end": { - "line": 1, - "offset": 10 - }, - "newText": "readFile, " - } - ] + "type": "install package", + "file": "/home/src/workspaces/project/index.ts", + "packageName": "@types/node" } ] } @@ -3302,6 +3387,31 @@ Info seq [hh:mm:ss:mss] request: { "seq": 89, "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/index.ts", + "startLine": 2, + "startOffset": 1, + "endLine": 2, + "endOffset": 9, + "errorCodes": [ + 2304 + ] + }, + "command": "getCodeFixes" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "getCodeFixes", + "request_seq": 89, + "success": true, + "body": [] + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 90, + "type": "request", "arguments": { "file": "/home/src/workspaces/project/index.ts", "startLine": 1, @@ -3319,7 +3429,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "getCodeFixes", - "request_seq": 89, + "request_seq": 90, "success": true, "body": [ { @@ -3345,100 +3455,4 @@ Info seq [hh:mm:ss:mss] response: ] } ] - } -Info seq [hh:mm:ss:mss] request: - { - "seq": 90, - "type": "request", - "arguments": { - "file": "/home/src/workspaces/project/index.ts", - "line": 1, - "offset": 10, - "endLine": 1, - "endOffset": 10, - "insertString": "readFile, " - }, - "command": "change" - } -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "change", - "request_seq": 90, - "success": true - } -After Request -Projects:: -/dev/null/inferredProject2* (Inferred) *changed* - projectStateVersion: 3 *changed* - projectProgramVersion: 2 - dirty: true *changed* - autoImportProviderHost: false - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* -/home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-41 *changed* - containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject2* *default* - -Info seq [hh:mm:ss:mss] request: - { - "seq": 91, - "type": "request", - "arguments": { - "file": "/home/src/workspaces/project/index.ts", - "line": 1, - "offset": 10, - "endLine": 1, - "endOffset": 20, - "insertString": "" - }, - "command": "change" - } -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "change", - "request_seq": 91, - "success": true - } -After Request -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject2* -/home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-42 *changed* - containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /dev/null/inferredProject2* *default* + } \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index fc1f1e830fc31..9401838ef9344 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -126,7 +126,7 @@ import "react"; { "dependencies": { "antd": "*", "react": "*" } } //// [/home/src/workspaces/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs", "lib": ["es2019"] } } +{ "compilerOptions": { "module": "commonjs", "lib": ["es2019"], "types": ["react"] } } Info seq [hh:mm:ss:mss] request: @@ -150,6 +150,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "lib": [ "lib.es2019.d.ts" ], + "types": [ + "react" + ], "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } @@ -210,10 +213,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (38) @@ -341,7 +340,7 @@ Info seq [hh:mm:ss:mss] Files (38) index.ts Matched by default include pattern '**/*' node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' + Entry point of type library 'react' specified in compilerOptions Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -368,25 +367,18 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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: /home/src/workspaces/project/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: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\", \"lib\": [\"es2019\"] } }" - /home/src/workspaces/project/node_modules/@types/react/index.d.ts Text-1 "export declare function Component(): void;" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\", \"lib\": [\"es2019\"], \"types\": [\"react\"] } }" ../../tslibs/TS/Lib/lib.d.ts @@ -397,8 +389,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file @@ -407,7 +397,7 @@ Info seq [hh:mm:ss:mss] Files (38) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -506,17 +496,13 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/react/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: *new* @@ -525,15 +511,12 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} - {} /home/src/workspaces/project: *new* {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -702,9 +685,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/node_modules/@types/react/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -726,7 +708,7 @@ Info seq [hh:mm:ss:mss] Files (38) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -822,17 +804,13 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/react/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/react/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: @@ -845,15 +823,12 @@ watchedFiles *deleted*:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -1023,9 +998,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1928,17 +1902,13 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/react/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/react/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: @@ -1947,16 +1917,13 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index 43856a8a56f67..07454f2cf599e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -99,16 +99,8 @@ 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/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.esnext.full.d.ts 500 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots @@ -116,17 +108,13 @@ 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/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (1) /home/src/workspaces/project/src/foo.ts Text-1 "fooFrom" - /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void;" src/foo.ts Matched by default include pattern '**/*' File is ECMAScript module because 'package.json' has field "type" with value "module" - node_modules/@types/dependency/lib/index.d.ts - Entry point for implicit type library 'dependency' with packageId '@types/dependency/lib/index.d.ts@1.0.0' - File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -199,28 +187,20 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"nodenext\"\n }\n}" - /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void;" ../../tslibs/TS/Lib/lib.d.ts @@ -231,39 +211,41 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/@types/dependency/lib/index.d.ts - Entry point for implicit type library 'dependency' with packageId '@types/dependency/lib/index.d.ts@1.0.0' - File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void;" /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void;" + node_modules/@types/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" node_modules/@types/dependency/lib/lol.d.ts Root file specified for compilation File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -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] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -299,15 +281,8 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/dependency/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -319,17 +294,11 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: *new* - {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} /home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} @@ -362,9 +331,8 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts *new* version: Text-1 containingProjects: 1 @@ -390,15 +358,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/src/foo.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -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] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -432,15 +400,8 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/dependency/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/dependency/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -454,17 +415,11 @@ watchedFiles *deleted*:: {"pollingInterval":500} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: - {} - {} /home/src/workspaces/node_modules/@types: {} {} /home/src/workspaces/project: {} -/home/src/workspaces/project/node_modules: - {} - {} /home/src/workspaces/project/node_modules/@types: {} {} @@ -497,9 +452,8 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts version: Text-1 containingProjects: 1 @@ -563,17 +517,21 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * -Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void;" /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void;" + node_modules/@types/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" node_modules/@types/dependency/lib/lol.d.ts Root file specified for compilation File is ECMAScript module because 'node_modules/@types/dependency/package.json' has field "type" with value "module" @@ -1031,11 +989,13 @@ Info seq [hh:mm:ss:mss] response: "kind": "text" } ], + "isPackageJsonImport": true, "data": { "exportName": "fooFromIndex", "exportMapKey": "12 * fooFromIndex ", "moduleSpecifier": "dependency", - "fileName": "/home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts" + "fileName": "/home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts", + "isPackageJsonImport": true } }, { @@ -1085,18 +1045,11 @@ watchedFiles:: /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/dependency/lib/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/@types/dependency/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* -/home/src/workspaces/project/node_modules/dependency/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -1106,18 +1059,13 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: - {} - {} /home/src/workspaces/node_modules/@types: {} {} /home/src/workspaces/project: {} -/home/src/workspaces/project/node_modules: - {} +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} @@ -1152,11 +1100,11 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts +/home/src/workspaces/project/node_modules/@types/dependency/lib/index.d.ts *changed* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/node_modules/@types/dependency/lib/lol.d.ts *changed* version: Text-1 containingProjects: 2 *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index 154badd241e75..7c6cefcc393b3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -108,16 +108,8 @@ 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/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/src/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.esnext.full.d.ts 500 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots @@ -125,17 +117,13 @@ 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/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (2) +Info seq [hh:mm:ss:mss] Files (1) /home/src/workspaces/project/src/foo.ts Text-1 "fooFrom" - /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void" src/foo.ts Matched by default include pattern '**/*' File is ECMAScript module because 'package.json' has field "type" with value "module" - node_modules/dependency/lib/index.d.ts - Entry point for implicit type library 'dependency' with packageId 'dependency/lib/index.d.ts@1.0.0' - File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -208,28 +196,20 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"nodenext\"\n }\n}" - /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void" ../../tslibs/TS/Lib/lib.d.ts @@ -240,39 +220,41 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/dependency/lib/index.d.ts - Entry point for implicit type library 'dependency' with packageId 'dependency/lib/index.d.ts@1.0.0' - File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file -Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void" /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void" + node_modules/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" node_modules/dependency/lib/lol.d.ts Root file specified for compilation File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -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] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -302,21 +284,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/dependency/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} {"pollingInterval":250} @@ -328,17 +303,11 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: *new* - {} - {} /home/src/workspaces/node_modules/@types: *new* {} {} /home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} @@ -371,9 +340,8 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *new* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *new* version: Text-1 containingProjects: 1 @@ -399,15 +367,15 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/src/foo.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/src/foo.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -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] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -435,21 +403,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/dependency/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} {"pollingInterval":250} @@ -463,17 +424,11 @@ watchedFiles *deleted*:: {"pollingInterval":500} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: - {} - {} /home/src/workspaces/node_modules/@types: {} {} /home/src/workspaces/project: {} -/home/src/workspaces/project/node_modules: - {} - {} /home/src/workspaces/project/node_modules/@types: {} {} @@ -506,9 +461,8 @@ ScriptInfos:: /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts version: Text-1 containingProjects: 1 @@ -572,17 +526,21 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * -Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms +Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/dependency/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) -Info seq [hh:mm:ss:mss] Files (1) +Info seq [hh:mm:ss:mss] Files (2) + /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts Text-1 "export declare function fooFromIndex(): void" /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts Text-1 "export declare function fooFromLol(): void" + node_modules/dependency/lib/index.d.ts + Root file specified for compilation + File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" node_modules/dependency/lib/lol.d.ts Root file specified for compilation File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" @@ -1040,11 +998,13 @@ Info seq [hh:mm:ss:mss] response: "kind": "text" } ], + "isPackageJsonImport": true, "data": { "exportName": "fooFromIndex", "exportMapKey": "12 * fooFromIndex ", "moduleSpecifier": "dependency", - "fileName": "/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts" + "fileName": "/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts", + "isPackageJsonImport": true } }, { @@ -1089,21 +1049,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/dependency/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/dependency/lib/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/dependency/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":2000} *new* /home/src/workspaces/project/package.json: @@ -1115,18 +1068,13 @@ watchedFiles:: {"pollingInterval":2000} watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules: - {} - {} /home/src/workspaces/node_modules/@types: {} {} /home/src/workspaces/project: {} -/home/src/workspaces/project/node_modules: - {} +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} @@ -1161,11 +1109,11 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts +/home/src/workspaces/project/node_modules/dependency/lib/index.d.ts *changed* version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* + containingProjects: 2 *changed* + /dev/null/autoImportProviderProject1* + /dev/null/autoImportProviderProject2* *new* /home/src/workspaces/project/node_modules/dependency/lib/lol.d.ts *changed* version: Text-1 containingProjects: 2 *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index 7153321a3af9b..8649ed67faab3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -55,11 +55,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Cach Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -77,12 +72,11 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/Library Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/Library/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json SVC-1-0 "{ \"name\": \"@types/react-router-dom\", \"version\": \"16.8.4\", \"types\": \"index.d.ts\" }" - /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/index.d.ts Text-1 "export class BrowserRouterFromDts {}" ../../../../../../tslibs/TS/Lib/lib.d.ts @@ -93,12 +87,10 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - index.d.ts - Entry point for implicit type library 'react-router-dom' with packageId '@types/react-router-dom/index.d.ts@16.8.4' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -121,8 +113,6 @@ watchedFiles:: {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: *new* - {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: *new* {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/tsconfig.json: *new* @@ -141,14 +131,10 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/Library/Caches/node_modules/@types: *new* {} -/home/src/Library/Caches/typescript/node_modules: *new* - {} /home/src/Library/Caches/typescript/node_modules/@types: *new* {} /home/src/Library/Caches/typescript/node_modules/@types/node_modules/@types: *new* {} -/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules: *new* - {} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules/@types: *new* {} /home/src/Library/Caches/typescript/node_modules/node_modules/@types: *new* @@ -162,10 +148,6 @@ Projects:: projectProgramVersion: 1 ScriptInfos:: -/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -293,7 +275,7 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -319,9 +301,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/jsconfig.json: {"pollingInterval":2000} -/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: +/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/tsconfig.json: @@ -344,14 +325,10 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/Library/Caches/node_modules/@types: {} -/home/src/Library/Caches/typescript/node_modules: - {} /home/src/Library/Caches/typescript/node_modules/@types: {} /home/src/Library/Caches/typescript/node_modules/@types/node_modules/@types: {} -/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules: - {} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules/@types: {} /home/src/Library/Caches/typescript/node_modules/node_modules/@types: @@ -378,11 +355,10 @@ Projects:: autoImportProviderHost: /dev/null/autoImportProviderProject1* ScriptInfos:: -/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/index.d.ts *changed* +/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/autoImportProviderProject1* *new* + containingProjects: 1 + /dev/null/autoImportProviderProject1* /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1061,7 +1037,6 @@ watchedFiles:: {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} /home/src/Library/Caches/typescript/node_modules/@types/tsconfig.json: @@ -1084,15 +1059,12 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/Library/Caches/node_modules/@types: {} -/home/src/Library/Caches/typescript/node_modules: +/home/src/Library/Caches/typescript/node_modules: *new* {} - {} *new* /home/src/Library/Caches/typescript/node_modules/@types: {} /home/src/Library/Caches/typescript/node_modules/@types/node_modules/@types: {} -/home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules: - {} /home/src/Library/Caches/typescript/node_modules/@types/react-router-dom/node_modules/@types: {} /home/src/Library/Caches/typescript/node_modules/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 3132a95dd584a..0e0c94d279827 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -25,7 +25,8 @@ declare module "fs" { //// [/home/src/workspaces/project/tsconfig.json] { "compilerOptions": { - "module": "commonjs" + "module": "commonjs", + "types": ["node", "fs-extra"] } } @@ -48,6 +49,10 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "types": [ + "node", + "fs-extra" + ], "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } @@ -67,8 +72,8 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -78,16 +83,12 @@ 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/workspaces/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/fs-extra/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/fs-extra/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -95,8 +96,8 @@ Info seq [hh:mm:ss:mss] Files (6) /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts Text-1 "access" - /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts Text-1 "export * from \"fs\";" /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module \"fs\" {\n export function accessSync(path: string): void;\n}" + /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts Text-1 "export * from \"fs\";" ../../tslibs/TS/Lib/lib.d.ts @@ -107,10 +108,10 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' index.ts Matched by default include pattern '**/*' - node_modules/@types/fs-extra/index.d.ts - Entry point for implicit type library 'fs-extra' node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' + Entry point of type library 'node' specified in compilerOptions + node_modules/@types/fs-extra/index.d.ts + Entry point of type library 'fs-extra' specified in compilerOptions Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -137,33 +138,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/fs-extra/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\"\n }\n}" - /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts Text-1 "export * from \"fs\";" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module \"fs\" {\n export function accessSync(path: string): void;\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"types\": [\"node\", \"fs-extra\"]\n }\n}" ../../tslibs/TS/Lib/lib.d.ts @@ -174,10 +159,6 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/@types/fs-extra/index.d.ts - Entry point for implicit type library 'fs-extra' - node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) @@ -185,7 +166,7 @@ Info seq [hh:mm:ss:mss] Files (6) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -212,7 +193,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* @@ -221,47 +201,36 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/fs-extra/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/node/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} watchedDirectories:: /home/src/workspaces: *new* {} - {} /home/src/workspaces/project: *new* {} - {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* {} - {} /home/src/workspaces/node_modules/@types: *new* {} - {} /home/src/workspaces/project: *new* {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -295,14 +264,12 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/node/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -324,7 +291,7 @@ Info seq [hh:mm:ss:mss] Files (6) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -350,28 +317,22 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/fs-extra/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/node/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} @@ -382,26 +343,20 @@ watchedFiles *deleted*:: watchedDirectories:: /home/src/workspaces: {} - {} /home/src/workspaces/project: {} - {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} - {} /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -436,14 +391,12 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1237,55 +1190,43 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/fs-extra/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/node/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} watchedDirectories:: /home/src/workspaces: {} - {} /home/src/workspaces/project: {} - {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: {} - {} /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -1472,14 +1413,12 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/fs-extra/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index d39e38c7b40c9..277f9fd416083 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -77,32 +77,20 @@ 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/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/ts-node/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts Text-1 "I" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module \"process\" {\n global {\n var process: NodeJS.Process;\n namespace NodeJS {\n interface Process {\n argv: string[];\n }\n }\n }\n export = process;\n}" - /home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts Text-1 "export {};\ndeclare const REGISTER_INSTANCE: unique symbol;\ndeclare global {\n namespace NodeJS {\n interface Process {\n [REGISTER_INSTANCE]?: Service;\n }\n }\n}" ../../tslibs/TS/Lib/lib.d.ts @@ -113,10 +101,6 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' index.ts Matched by default include pattern '**/*' - node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' - node_modules/@types/ts-node/index.d.ts - Entry point for implicit type library 'ts-node' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -143,27 +127,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/ts-node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\" } }" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module \"process\" {\n global {\n var process: NodeJS.Process;\n namespace NodeJS {\n interface Process {\n argv: string[];\n }\n }\n }\n export = process;\n}" - /home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts Text-1 "export {};\ndeclare const REGISTER_INSTANCE: unique symbol;\ndeclare global {\n namespace NodeJS {\n interface Process {\n [REGISTER_INSTANCE]?: Service;\n }\n }\n}" ../../tslibs/TS/Lib/lib.d.ts @@ -174,18 +148,14 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' - node_modules/@types/ts-node/index.d.ts - Entry point for implicit type library 'ts-node' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -210,32 +180,10 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/node/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/ts-node/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -245,9 +193,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} @@ -282,16 +227,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/tsconfig.json -/home/src/workspaces/project/node_modules/@types/node/index.d.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -309,11 +244,11 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -337,30 +272,8 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: {"pollingInterval":500} -/home/src/workspaces/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/index.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/node/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/ts-node/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} @@ -374,9 +287,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project: {} -/home/src/workspaces/project/node_modules: - {} - {} /home/src/workspaces/project/node_modules/@types: {} {} @@ -412,16 +322,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/tsconfig.json *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -944,12 +844,6 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, - { - "name": "process", - "kind": "var", - "kindModifiers": "declare", - "sortText": "15" - }, { "name": "RangeError", "kind": "var", @@ -1231,16 +1125,6 @@ ScriptInfos:: version: SVC-2-1 *changed* containingProjects: 1 /home/src/workspaces/project/tsconfig.json *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1289,16 +1173,6 @@ ScriptInfos:: version: SVC-2-2 *changed* containingProjects: 1 /home/src/workspaces/project/tsconfig.json *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1358,19 +1232,18 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts SVC-2-2 "IN" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module \"process\" {\n global {\n var process: NodeJS.Process;\n namespace NodeJS {\n interface Process {\n argv: string[];\n }\n }\n }\n export = process;\n}" - /home/src/workspaces/project/node_modules/@types/ts-node/index.d.ts Text-1 "export {};\ndeclare const REGISTER_INSTANCE: unique symbol;\ndeclare global {\n namespace NodeJS {\n interface Process {\n [REGISTER_INSTANCE]?: Service;\n }\n }\n}" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * -Info seq [hh:mm:ss:mss] getExportInfoMap: cache hit +Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results +Info seq [hh:mm:ss:mss] getExportInfoMap: done in * ms Info seq [hh:mm:ss:mss] collectAutoImports: resolved 0 module specifiers, plus 0 ambient and 0 from cache Info seq [hh:mm:ss:mss] collectAutoImports: response is complete Info seq [hh:mm:ss:mss] collectAutoImports: * @@ -1846,12 +1719,6 @@ Info seq [hh:mm:ss:mss] response: "kindModifiers": "declare", "sortText": "15" }, - { - "name": "process", - "kind": "var", - "kindModifiers": "declare", - "sortText": "15" - }, { "name": "RangeError", "kind": "var", diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js index fe827a9aab329..0d3f7534ab443 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js @@ -91,12 +91,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -110,12 +104,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/lodash/package.json SVC-1-0 "{ \"name\": \"lodash\", \"version\": \"4.17.15\", \"main\": \"./lodash.js\" }" - /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts Text-1 "export = _;\nexport as namespace _;\ndeclare const _: _.LoDashStatic;\ndeclare namespace _ {\n interface LoDashStatic {}\n}" ../../../../tslibs/TS/Lib/lib.d.ts @@ -126,12 +119,10 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - ../@types/lodash/index.d.ts - Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.97' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -156,10 +147,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: *new* @@ -172,12 +159,8 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/lodash/node_modules: *new* - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -201,10 +184,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/lodash/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -224,7 +203,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -232,6 +211,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -254,13 +234,12 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' node_modules/@types/lodash/index.d.ts Imported via 'lodash' from file 'index.ts' with packageId '@types/lodash/index.d.ts@4.14.97' - Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.97' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -293,11 +272,10 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: +/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/package.json: +/home/src/workspaces/project/node_modules/@types/lodash/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: @@ -321,14 +299,11 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules/lodash/node_modules: - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -363,11 +338,10 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/lodash/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -476,7 +450,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/lodash/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: @@ -508,14 +481,11 @@ watchedDirectoriesRecursive:: {} {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: {} {} -/home/src/workspaces/project/node_modules/lodash/node_modules: - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -557,8 +527,7 @@ ScriptInfos:: /dev/null/auxiliaryProject1* *new* /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/lodash/lodash.js *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js index 6e811309a4a17..65a83b641f319 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js @@ -57,12 +57,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -78,12 +72,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/@types/yargs/package.json SVC-1-0 "{\n \"name\": \"@types/yargs\",\n \"version\": \"1.0.0\",\n \"types\": \"./index.d.ts\"\n}" - /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts Text-1 "export interface Yargs { positional(): Yargs; }\nexport declare function command(command: string, cb: (yargs: Yargs) => void): void;" ../../../../../tslibs/TS/Lib/lib.d.ts @@ -94,12 +87,10 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - index.d.ts - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -128,12 +119,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: *new* @@ -144,14 +131,10 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -175,10 +158,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -198,7 +177,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -206,6 +185,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -228,13 +208,12 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' node_modules/@types/yargs/index.d.ts Imported via "yargs" from file 'index.ts' with packageId '@types/yargs/index.d.ts@1.0.0' - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -271,13 +250,12 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: +/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -299,16 +277,13 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -343,11 +318,10 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -442,7 +416,6 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -472,7 +445,6 @@ watchedDirectoriesRecursive:: {} {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: @@ -480,8 +452,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -526,8 +496,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js index 77e8741440fe8..97ad6fca9dd5c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js @@ -64,15 +64,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -88,13 +79,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/@types/yargs/package.json SVC-1-0 "{\n \"name\": \"@types/yargs\",\n \"version\": \"1.0.0\",\n \"types\": \"./index.d.ts\"\n}" - /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts Text-1 "export declare class Yargs { positional(): Yargs; }" - /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts Text-1 "import { Yargs } from \"./callback\";\nexport declare function command(command: string, cb: (yargs: Yargs) => void): void;" ../../../../../tslibs/TS/Lib/lib.d.ts @@ -105,14 +94,10 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - callback.d.ts - Imported via "./callback" from file 'index.d.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' - index.d.ts - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -141,14 +126,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: *new* @@ -156,21 +135,13 @@ watchedFiles:: /home/src/workspaces/project/node_modules/tsconfig.json: *new* {"pollingInterval":2000} -watchedDirectories:: -/home/src/workspaces/project/node_modules/@types/yargs: *new* - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -194,14 +165,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -221,9 +184,11 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -254,13 +219,12 @@ Info seq [hh:mm:ss:mss] Files (6) 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 Imported via "yargs" from file 'index.ts' with packageId '@types/yargs/index.d.ts@1.0.0' - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -297,15 +261,14 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: +/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: +/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -322,23 +285,18 @@ watchedDirectories:: {} /home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules/@types/yargs: - {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -373,16 +331,14 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *changed* + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -483,7 +439,6 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -507,8 +462,6 @@ watchedDirectories:: /home/src/workspaces/project: {} {} *new* -/home/src/workspaces/project/node_modules/@types/yargs: - {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* @@ -517,7 +470,6 @@ watchedDirectoriesRecursive:: {} {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: @@ -525,8 +477,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -571,13 +521,11 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js index 772ff2232cee2..793a4a860a796 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js @@ -64,15 +64,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -88,13 +79,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/@types/yargs/package.json SVC-1-0 "{\n \"name\": \"@types/yargs\",\n \"version\": \"1.0.0\",\n \"types\": \"./index.d.ts\"\n}" - /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts Text-1 "export declare class Yargs { positional(): Yargs; }" - /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts Text-1 "import { Yargs } from \"./callback\";\nexport declare function command(command: string, cb: (yargs: Yargs) => void): void;" ../../../../../tslibs/TS/Lib/lib.d.ts @@ -105,14 +94,10 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - callback.d.ts - Imported via "./callback" from file 'index.d.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' - index.d.ts - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -141,14 +126,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: *new* @@ -156,21 +135,13 @@ watchedFiles:: /home/src/workspaces/project/node_modules/tsconfig.json: *new* {"pollingInterval":2000} -watchedDirectories:: -/home/src/workspaces/project/node_modules/@types/yargs: *new* - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -194,14 +165,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -221,9 +184,11 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -254,13 +219,12 @@ Info seq [hh:mm:ss:mss] Files (6) 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 Imported via "yargs" from file 'index.ts' with packageId '@types/yargs/index.d.ts@1.0.0' - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -297,15 +261,14 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: +/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: +/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -322,23 +285,18 @@ watchedDirectories:: {} /home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules/@types/yargs: - {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -373,16 +331,14 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *changed* + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -497,7 +453,6 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -521,8 +476,6 @@ watchedDirectories:: /home/src/workspaces/project: {} {} *new* -/home/src/workspaces/project/node_modules/@types/yargs: - {} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules: *new* @@ -531,7 +484,6 @@ watchedDirectoriesRecursive:: {} {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: @@ -539,8 +491,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -585,13 +535,11 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js index c3a618a230cbe..7365013acd820 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js @@ -68,15 +68,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -92,13 +83,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/@types/yargs/package.json SVC-1-0 "{\n \"name\": \"@types/yargs\",\n \"version\": \"1.0.0\",\n \"types\": \"./index.d.ts\"\n}" - /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts Text-1 "export declare class Yargs { positional(): Yargs; }" - /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts Text-1 "import { Yargs } from \"./callback\";\nexport declare function command(command: string, cb: (yargs: Yargs) => void): void;" ../../../../../tslibs/TS/Lib/lib.d.ts @@ -109,14 +98,10 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - callback.d.ts - Imported via "./callback" from file 'index.d.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' - index.d.ts - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -145,14 +130,8 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* - {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: *new* @@ -160,21 +139,13 @@ watchedFiles:: /home/src/workspaces/project/node_modules/tsconfig.json: *new* {"pollingInterval":2000} -watchedDirectories:: -/home/src/workspaces/project/node_modules/@types/yargs: *new* - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -198,14 +169,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -228,15 +191,17 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/folder/random.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/some 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution @@ -275,13 +240,12 @@ Info seq [hh:mm:ss:mss] Files (7) Imported via "../folder/random" from file 'index.ts' ../node_modules/@types/yargs/index.d.ts Imported via "yargs" from file 'index.ts' with packageId '@types/yargs/index.d.ts@1.0.0' - Entry point for implicit type library 'yargs' with packageId '@types/yargs/index.d.ts@1.0.0' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -320,15 +284,14 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/tsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: +/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/yargs/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/yargs/package.json: +/home/src/workspaces/project/node_modules/@types/yargs/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -349,8 +312,6 @@ watchedDirectories:: {} /home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules/@types/yargs: - {} /home/src/workspaces/project/some: *new* {} @@ -362,16 +323,13 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/folder/node_modules: *new* {} -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -410,16 +368,14 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject2* -/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *changed* + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/workspaces/project/node_modules/@types/yargs/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -537,7 +493,6 @@ watchedFiles:: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/yargs/tsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: @@ -565,8 +520,6 @@ watchedDirectories:: /home/src/workspaces/project: {} {} *new* -/home/src/workspaces/project/node_modules/@types/yargs: - {} /home/src/workspaces/project/some: {} {} *new* @@ -584,7 +537,6 @@ watchedDirectoriesRecursive:: {} {} *new* /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: @@ -592,8 +544,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules/@types/node_modules/@types: {} -/home/src/workspaces/project/node_modules/@types/yargs/node_modules: - {} /home/src/workspaces/project/node_modules/@types/yargs/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -643,13 +593,11 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/yargs/callback.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/index.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/yargs/package.json (Open) version: SVC-1-0 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index 2a98cead0cde4..6e2e574faec6e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -44,12 +44,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/foo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/foo/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info @@ -63,12 +57,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/foo/package.json SVC-1-0 "{ \"name\": \"foo\", \"version\": \"1.0.0\", \"main\": \"./lib/main.js\" }" - /home/src/workspaces/project/node_modules/@types/foo/index.d.ts Text-1 "export declare const a: string;" ../../../../tslibs/TS/Lib/lib.d.ts @@ -79,12 +72,10 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - ../@types/foo/index.d.ts - Entry point for implicit type library 'foo' with packageId '@types/foo/index.d.ts@1.0.0' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -109,10 +100,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/foo/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/foo/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/foo/jsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/foo/tsconfig.json: *new* @@ -125,12 +112,8 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/foo/node_modules: *new* - {} /home/src/workspaces/project/node_modules/foo/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -154,10 +137,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/foo/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/foo/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -177,7 +156,7 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/foo/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/foo/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations @@ -185,6 +164,7 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/foo/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -207,13 +187,12 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' node_modules/@types/foo/index.d.ts Imported via "foo" from file 'index.ts' with packageId '@types/foo/index.d.ts@1.0.0' - Entry point for implicit type library 'foo' with packageId '@types/foo/index.d.ts@1.0.0' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -246,11 +225,10 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/foo/index.d.ts: +/home/src/workspaces/project/node_modules/@types/foo/index.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/foo/package.json: +/home/src/workspaces/project/node_modules/@types/foo/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/foo/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/foo/package.json: *new* @@ -274,14 +252,11 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules/foo/node_modules: - {} /home/src/workspaces/project/node_modules/foo/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -316,11 +291,10 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/foo/index.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/foo/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/foo/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -409,7 +383,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/foo/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/foo/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/foo/lib/main.js: *new* @@ -443,14 +416,11 @@ watchedDirectoriesRecursive:: {} {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: {} {} -/home/src/workspaces/project/node_modules/foo/node_modules: - {} /home/src/workspaces/project/node_modules/foo/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -495,8 +465,7 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/foo/index.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/foo/lib/main.js *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 598a8dfdc3b43..edcc92b1526f5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -100,17 +100,9 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/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/workspaces/project/node_modules/lodash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -121,13 +113,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/lodash/package.json SVC-1-0 "{ \"name\": \"lodash\", \"version\": \"4.17.15\", \"main\": \"./lodash.js\" }" - /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts Text-1 "import _ = require(\"../index\");\ndeclare module \"../index\" {\n interface LoDashStatic {\n add(augend: number, addend: number): number;\n }\n}" - /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts Text-1 "/// \nexport = _;\nexport as namespace _;\ndeclare const _: _.LoDashStatic;\ndeclare namespace _ {\n interface LoDashStatic {}\n}" ../../../../tslibs/TS/Lib/lib.d.ts @@ -138,15 +128,10 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - ../@types/lodash/common/math.d.ts - Referenced via './common/math.d.ts' from file '../@types/lodash/index.d.ts' - ../@types/lodash/index.d.ts - Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.97' - Imported via "../index" from file '../@types/lodash/common/math.d.ts' with packageId '@types/lodash/index.d.ts@4.14.97' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -171,14 +156,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/common/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: *new* @@ -191,12 +168,8 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/lodash/node_modules: *new* - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -220,14 +193,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/lodash/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -247,6 +212,8 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution @@ -282,13 +249,12 @@ Info seq [hh:mm:ss:mss] Files (6) node_modules/@types/lodash/index.d.ts Imported via 'lodash' from file 'index.ts' with packageId '@types/lodash/index.d.ts@4.14.97' Imported via "../index" from file 'node_modules/@types/lodash/common/math.d.ts' with packageId '@types/lodash/index.d.ts@4.14.97' - Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.97' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -321,16 +287,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts: +/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/common/package.json: +/home/src/workspaces/project/node_modules/@types/lodash/common/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: +/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/package.json: +/home/src/workspaces/project/node_modules/@types/lodash/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: @@ -354,14 +318,11 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules/lodash/node_modules: - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -396,16 +357,14 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *changed* + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/lodash/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -514,12 +473,10 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/lodash/common/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/lodash/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: @@ -551,14 +508,11 @@ watchedDirectoriesRecursive:: {} {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: {} {} -/home/src/workspaces/project/node_modules/lodash/node_modules: - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -603,13 +557,11 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts version: Text-1 - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/lodash/lodash.js *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index bb0674bb82a50..30e0f5f2b1c45 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -101,17 +101,9 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/lodash/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/workspaces/project/node_modules/lodash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -122,13 +114,11 @@ 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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/node_modules/lodash/package.json SVC-1-0 "{ \"name\": \"lodash\", \"version\": \"4.17.15\", \"main\": \"./lodash.js\" }" - /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts Text-1 "import _ = require(\"../index\");\ndeclare module \"../index\" {\n interface LoDashStatic {\n add(augend: number, addend: number): number;\n }\n}" - /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts Text-1 "/// \nexport = _;\nexport as namespace _;\ndeclare const _: _.LoDashStatic;\ndeclare namespace _ {\n interface LoDashStatic {}\n}" ../../../../tslibs/TS/Lib/lib.d.ts @@ -139,15 +129,10 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../../../tslibs/TS/Lib/lib.d.ts' package.json Root file specified for compilation - ../@types/lodash/common/math.d.ts - Referenced via './common/math.d.ts' from file '../@types/lodash/index.d.ts' - ../@types/lodash/index.d.ts - Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.97' - Imported via "../index" from file '../@types/lodash/common/math.d.ts' with packageId '@types/lodash/index.d.ts@4.14.97' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -172,14 +157,6 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/common/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: *new* @@ -192,12 +169,8 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} /home/src/workspaces/project/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/lodash/node_modules: *new* - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: *new* {} /home/src/workspaces/project/node_modules/node_modules/@types: *new* @@ -221,14 +194,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /dev/null/inferredProject1* /home/src/workspaces/project/node_modules/lodash/package.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -248,6 +213,8 @@ Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution @@ -283,13 +250,12 @@ Info seq [hh:mm:ss:mss] Files (6) node_modules/@types/lodash/index.d.ts Imported via 'lodash' from file 'index.ts' with packageId '@types/lodash/index.d.ts@4.14.97' Imported via "../index" from file 'node_modules/@types/lodash/common/math.d.ts' with packageId '@types/lodash/index.d.ts@4.14.97' - Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.97' index.ts Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -322,16 +288,14 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts: +/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/common/package.json: +/home/src/workspaces/project/node_modules/@types/lodash/common/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: +/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/lodash/package.json: +/home/src/workspaces/project/node_modules/@types/lodash/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /home/src/workspaces/project/node_modules/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: @@ -355,14 +319,11 @@ watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules: +/home/src/workspaces/project/node_modules: *new* {} - {} *new* /home/src/workspaces/project/node_modules/@types: {} {} *new* -/home/src/workspaces/project/node_modules/lodash/node_modules: - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -397,16 +358,14 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *changed* +/home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *changed* + containingProjects: 1 + /dev/null/inferredProject2* +/home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *new* version: Text-1 - containingProjects: 2 *changed* - /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* + containingProjects: 1 + /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/lodash/package.json (Open) version: SVC-1-0 containingProjects: 1 @@ -487,12 +446,10 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/lodash/common/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/lodash/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/lodash/jsconfig.json: @@ -524,14 +481,11 @@ watchedDirectoriesRecursive:: {} {} /home/src/workspaces/project/node_modules: - {} {} {} *new* /home/src/workspaces/project/node_modules/@types: {} {} -/home/src/workspaces/project/node_modules/lodash/node_modules: - {} /home/src/workspaces/project/node_modules/lodash/node_modules/@types: {} /home/src/workspaces/project/node_modules/node_modules/@types: @@ -577,14 +531,12 @@ ScriptInfos:: /home/src/workspaces/project/node_modules/@types/lodash/common/math.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/@types/lodash/index.d.ts *changed* version: Text-1 sourceMapFilePath: false *changed* - containingProjects: 2 - /dev/null/inferredProject1* + containingProjects: 1 /dev/null/inferredProject2* /home/src/workspaces/project/node_modules/lodash/lodash.js *new* version: Text-1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index 472204efd95f8..2abb5d9d09259 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -19,7 +19,7 @@ export declare function Component(): void; //// [/home/src/workspaces/project/node_modules/@types/react] symlink(/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react) //// [/home/src/workspaces/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "types": ["react"] } } Info seq [hh:mm:ss:mss] request: @@ -40,6 +40,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "types": [ + "react" + ], "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } @@ -71,10 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -94,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (5) index.ts Matched by default include pattern '**/*' node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' + Entry point of type library 'react' specified in compilerOptions Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -121,28 +120,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/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: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/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: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\" } }" - /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts Text-1 "export declare function Component(): void;" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\", \"types\": [\"react\"] } }" ../../tslibs/TS/Lib/lib.d.ts @@ -153,8 +141,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) @@ -162,7 +148,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -189,49 +175,38 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} - {} /home/src/workspaces/project: *new* {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} /home/src/workspaces/project/node_modules/@types/react: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -265,9 +240,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -289,7 +263,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -315,32 +289,24 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} @@ -351,15 +317,12 @@ watchedFiles *deleted*:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules/@types: {} - {} /home/src/workspaces/project/node_modules/@types/react: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -394,9 +357,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -552,49 +514,38 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules: *new* {} /home/src/workspaces/project/node_modules/@types: {} - {} /home/src/workspaces/project/node_modules/@types/react: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -662,9 +613,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -715,9 +665,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index dbd6fbb636145..ba83b89df03bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -19,7 +19,7 @@ export declare function Component(): void; //// [/home/src/workspaces/project/node_modules/@types/react] symlink(/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react) //// [/home/src/workspaces/project/tsconfig.json] -{ "compilerOptions": { "module": "commonjs" } } +{ "compilerOptions": { "module": "commonjs", "types": ["react"] } } Info seq [hh:mm:ss:mss] request: @@ -40,6 +40,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { ], "options": { "module": 1, + "types": [ + "react" + ], "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } @@ -71,10 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -94,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (5) index.ts Matched by default include pattern '**/*' node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' + Entry point of type library 'react' specified in compilerOptions Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -121,28 +120,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/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: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/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: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\" } }" - /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts Text-1 "export declare function Component(): void;" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\", \"types\": [\"react\"] } }" ../../tslibs/TS/Lib/lib.d.ts @@ -153,8 +141,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) @@ -162,7 +148,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -189,49 +175,38 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} - {} /home/src/workspaces/project: *new* {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} /home/src/workspaces/project/node_modules/@types/react: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -265,9 +240,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -289,7 +263,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -315,32 +289,24 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} @@ -351,15 +317,12 @@ watchedFiles *deleted*:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules/@types: {} - {} /home/src/workspaces/project/node_modules/@types/react: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -394,9 +357,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -521,49 +483,38 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/.pnpm/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules: *new* {} /home/src/workspaces/project/node_modules/@types: {} - {} /home/src/workspaces/project/node_modules/@types/react: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index 537136716c501..0f68af7d733ae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -62,45 +62,20 @@ 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/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/index.ts Text-1 "import SvgProp" - /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts Text-1 "export interface SvgProperties {}" - /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts Text-1 "import \"csstype\";\nexport declare function Component(): void;" ../../tslibs/TS/Lib/lib.d.ts @@ -111,10 +86,6 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' index.ts Matched by default include pattern '**/*' - node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts - Imported via "csstype" from file 'node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts' - node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -141,40 +112,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/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: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/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: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"commonjs\" } }" - /home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts Text-1 "export interface SvgProperties {}" - /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts Text-1 "import \"csstype\";\nexport declare function Component(): void;" ../../tslibs/TS/Lib/lib.d.ts @@ -185,18 +133,14 @@ Info seq [hh:mm:ss:mss] Files (6) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts - Imported via "csstype" from file 'node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts' - node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -221,76 +165,22 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/index.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts: *new* - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} -watchedDirectories:: -/home/src/workspaces: *new* - {} - {} -/home/src/workspaces/project: *new* - {} - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} {} /home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules: *new* - {} - {} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype: *new* - {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} -/home/src/workspaces/project/node_modules/@types/react: *new* - {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -322,16 +212,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/tsconfig.json -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts *new* - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -349,11 +229,11 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (6) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -377,45 +257,8 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: {"pollingInterval":500} -/home/src/workspaces/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/.pnpm/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/home/src/workspaces/project/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} @@ -423,32 +266,15 @@ watchedFiles *deleted*:: /home/src/workspaces/project/index.ts: {"pollingInterval":500} -watchedDirectories:: -/home/src/workspaces: - {} - {} -/home/src/workspaces/project: - {} - {} - watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} {} /home/src/workspaces/project: {} -/home/src/workspaces/project/node_modules: - {} - {} -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/csstype: - {} - {} /home/src/workspaces/project/node_modules/@types: {} {} -/home/src/workspaces/project/node_modules/@types/react: - {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -481,16 +307,6 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /home/src/workspaces/project/tsconfig.json *default* -/home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts - version: Text-1 - containingProjects: 2 - /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index bd405d9cf0e5b..0695699774161 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -34,7 +34,8 @@ declare module 'util' { "checkJs": true, "typeRoots": [ "node_modules/@types" - ] + ], + "types": ["node"] }, "include": ["**/*"], "typeAcquisition": { @@ -66,6 +67,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { "typeRoots": [ "/home/src/workspaces/project/node_modules/@types" ], + "types": [ + "node" + ], "configFilePath": "/home/src/workspaces/project/tsconfig.json" } } @@ -93,8 +97,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -114,7 +116,7 @@ Info seq [hh:mm:ss:mss] Files (5) a.js Matched by include pattern '**/*' in 'tsconfig.json' node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' + Entry point of type library 'node' specified in compilerOptions Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -147,24 +149,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"esnext\",\n \"allowJs\": true,\n \"checkJs\": true,\n \"typeRoots\": [\n \"node_modules/@types\"\n ]\n },\n \"include\": [\"**/*\"],\n \"typeAcquisition\": {\n \"enable\": true\n }\n}" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module 'fs' {\n export function readFile(): void;\n}\ndeclare module 'util' {\n export function promisify(): void;\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"esnext\",\n \"allowJs\": true,\n \"checkJs\": true,\n \"typeRoots\": [\n \"node_modules/@types\"\n ],\n \"types\": [\"node\"]\n },\n \"include\": [\"**/*\"],\n \"typeAcquisition\": {\n \"enable\": true\n }\n}" ../../tslibs/TS/Lib/lib.d.ts @@ -175,8 +170,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file @@ -185,7 +178,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -218,15 +211,11 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: *new* @@ -239,10 +228,8 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -276,9 +263,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/node_modules/@types/node/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -300,7 +286,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -330,15 +316,11 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: @@ -355,10 +337,8 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -393,9 +373,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1035,7 +1014,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -1106,9 +1085,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1159,9 +1137,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1233,9 +1210,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1307,9 +1283,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1381,9 +1356,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1455,9 +1429,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1529,9 +1502,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1603,9 +1575,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1677,9 +1648,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1751,9 +1721,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1825,9 +1794,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1899,9 +1867,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1973,9 +1940,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2047,9 +2013,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2121,9 +2086,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2195,9 +2159,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2269,9 +2232,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2343,9 +2305,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2417,9 +2378,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2491,9 +2451,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2565,9 +2524,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2639,9 +2597,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2713,9 +2670,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2787,9 +2743,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2861,9 +2816,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2935,9 +2889,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3009,9 +2962,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3083,9 +3035,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3157,9 +3108,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3231,9 +3181,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3305,9 +3254,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3379,9 +3327,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3453,9 +3400,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3527,9 +3473,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -4213,15 +4158,11 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: @@ -4236,10 +4177,8 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -4306,9 +4245,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index 455cd73846bd3..10d41c149fbb1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -19,6 +19,7 @@ readF { "compilerOptions": { "module": "commonjs", + "types": ["node"] }, } @@ -57,6 +58,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/jsconfig.json : { "skipLibCheck": true, "noEmit": true, "module": 1, + "types": [ + "node" + ], "configFilePath": "/home/src/workspaces/project/jsconfig.json" } } @@ -84,10 +88,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /home/src/workspaces/project/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/jsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -107,7 +107,7 @@ Info seq [hh:mm:ss:mss] Files (5) a.js Matched by default include pattern '**/*' node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' + Entry point of type library 'node' specified in compilerOptions Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -134,24 +134,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/jsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n },\n}" - /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module 'fs' {\n export function readFile(): void;\n}\ndeclare module 'util' {\n export function promisify(): void;\n}" + /home/src/workspaces/project/jsconfig.json SVC-1-0 "{\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"types\": [\"node\"]\n },\n}" ../../tslibs/TS/Lib/lib.d.ts @@ -162,8 +155,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' jsconfig.json Root file specified for compilation - node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file @@ -172,7 +163,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -205,15 +196,11 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: *new* @@ -222,15 +209,12 @@ watchedFiles:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} - {} /home/src/workspaces/project: *new* {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} - {} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -268,9 +252,8 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/jsconfig.json - /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] request: { @@ -288,7 +271,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -318,15 +301,11 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: - {"pollingInterval":2000} {"pollingInterval":2000} {"pollingInterval":250} /home/src/workspaces/project/tsconfig.json: @@ -339,15 +318,12 @@ watchedFiles *deleted*:: watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} /home/src/workspaces/project: {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} - {} Projects:: /dev/null/inferredProject1* (Inferred) @@ -386,9 +362,8 @@ ScriptInfos:: /dev/null/inferredProject1* *default* /home/src/workspaces/project/node_modules/@types/node/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/jsconfig.json - /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] request: { diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index 3323b4222a6b6..0fcd5c005993d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -62,13 +62,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 0 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/react/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution @@ -98,7 +98,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' node_modules/@types/react/index.d.ts Imported via 'react' from file 'a.ts' - Entry point for implicit type library 'react' a.ts Matched by default include pattern '**/*' @@ -127,25 +126,17 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/p Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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: /home/src/workspaces/project/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: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 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) +Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"module\": \"esnext\" } }" - /home/src/workspaces/project/node_modules/@types/react/index.d.ts Text-1 "export function useState(): void;" ../../tslibs/TS/Lib/lib.d.ts @@ -156,8 +147,6 @@ Info seq [hh:mm:ss:mss] Files (5) Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' tsconfig.json Root file specified for compilation - node_modules/@types/react/index.d.ts - Entry point for implicit type library 'react' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) @@ -165,7 +154,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -192,25 +181,20 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/a.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/react/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -228,7 +212,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules: *new* {} - {} /home/src/workspaces/project/node_modules/@types: *new* {} {} @@ -265,9 +248,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json /home/src/workspaces/project/node_modules/@types/react/index.d.ts *new* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 @@ -289,7 +271,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -315,23 +297,18 @@ watchedFiles:: {"pollingInterval":500} /home/src/workspaces/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/react/index.d.ts: {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/react/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} @@ -353,7 +330,6 @@ watchedDirectoriesRecursive:: {} /home/src/workspaces/project/node_modules: {} - {} /home/src/workspaces/project/node_modules/@types: {} {} @@ -391,9 +367,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -1966,7 +1941,7 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) -Info seq [hh:mm:ss:mss] Files (5) +Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -2037,9 +2012,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2090,9 +2064,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2164,9 +2137,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2238,9 +2210,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2312,9 +2283,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2386,9 +2356,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2460,9 +2429,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2534,9 +2502,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2608,9 +2575,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2682,9 +2648,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2756,9 +2721,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2830,9 +2794,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2904,9 +2867,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -2978,9 +2940,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3052,9 +3013,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3126,9 +3086,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3200,9 +3159,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3274,9 +3232,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3348,9 +3305,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3422,9 +3378,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3496,9 +3451,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3570,9 +3524,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3644,9 +3597,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3718,9 +3670,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3792,9 +3743,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3866,9 +3816,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -3940,9 +3889,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -4014,9 +3962,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -4088,9 +4035,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -4162,9 +4108,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -4236,9 +4181,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -4310,9 +4254,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 @@ -4384,9 +4327,8 @@ ScriptInfos:: /home/src/workspaces/project/tsconfig.json *default* /home/src/workspaces/project/node_modules/@types/react/index.d.ts version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/workspaces/project/tsconfig.json - /dev/null/inferredProject1* /home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js index 231b264c5a687..6e80e619902d8 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 @@ -86,8 +86,6 @@ 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/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/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 @@ -185,13 +183,7 @@ Info seq [hh:mm:ss:mss] event: "body": { "triggerFile": "/home/src/projects/project/a/file1.ts", "configFile": "/home/src/projects/project/tsconfig.json", - "diagnostics": [ - { - "text": "Cannot find type definition file for 'node'.\n The file is in the program because:\n Entry point for implicit type library 'node'", - "code": 2688, - "category": "error" - } - ] + "diagnostics": [] } } Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/tsconfig.json' (Configured) @@ -215,8 +207,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/node_modules: *new* - {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/package.json: *new* diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js index 8c57c80d1b301..3308e1b5ff736 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js @@ -290,15 +290,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] ======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -368,7 +359,6 @@ Info seq [hh:mm:ss:mss] Files (10) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -686,7 +676,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -763,7 +752,6 @@ Info seq [hh:mm:ss:mss] Files (10) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -1201,7 +1189,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/project1/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/project1/tsconfig.json' (Configured) @@ -1236,7 +1223,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -1426,7 +1412,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/package.json' does not exist according to earlier cached lookups. @@ -1471,7 +1456,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -1706,13 +1690,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] ======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1,/home/src/workspace/projects/project1/typeroot2'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1, /home/src/workspace/projects/project1/typeroot2'. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. @@ -2002,13 +1979,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] ======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2083,7 +2053,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -2387,7 +2356,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/project1/tsconfig.json projectStateVersion: 8 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -2423,7 +2391,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -2710,7 +2677,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/workspace/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] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspace/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/project1/tsconfig.json projectStateVersion: 9 projectProgramVersion: 7 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -2746,7 +2712,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config.js b/tests/baselines/reference/tsserver/libraryResolution/with-config.js index 7fe1db288201a..f4e77bb0fe07a 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config.js @@ -176,15 +176,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.webworker.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.scripthost.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.es5.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.dom.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspace/projects/project1/typeroot1 1 undefined Project: /home/src/workspace/projects/project1/tsconfig.json WatchType: Type roots @@ -224,7 +215,6 @@ Info seq [hh:mm:ss:mss] Files (10) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -644,7 +634,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/workspace/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspace/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspace/projects/project1/tsconfig.json projectStateVersion: 3 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/workspace/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -678,7 +667,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -890,13 +878,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-es5' was not resolved. ======== -Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1,/home/src/workspace/projects/project1/typeroot2'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1, /home/src/workspace/projects/project1/typeroot2'. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1131,13 +1112,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspac Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] 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. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/workspace/projects/project1/__inferred type names__.ts', root directory '/home/src/workspace/projects/project1/typeroot1'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/workspace/projects/project1/typeroot1'. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1203,7 +1177,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -1445,7 +1418,6 @@ Info seq [hh:mm:ss:mss] File '/home/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] 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. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. @@ -1489,7 +1461,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -1752,7 +1723,6 @@ Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was not resolved. ======== Info seq [hh:mm:ss:mss] 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. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/workspace/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/workspace/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/workspace/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] File '/home/src/workspace/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. @@ -1796,7 +1766,6 @@ Info seq [hh:mm:ss:mss] Files (9) Matched by default include pattern '**/*' typeroot1/sometype/index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'sometype' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* diff --git a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js index c664233e272dd..6dbfca55bfd8e 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 @@ -68,11 +68,11 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json 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] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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 +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] 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/projects/project/node_modules/@types/a/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution @@ -98,10 +98,8 @@ Info seq [hh:mm:ss:mss] Files (4) Default library for target 'es5' node_modules/@types/a/index.d.ts Imported via 'a' from file 'index.ts' - Entry point for implicit type library 'a' node_modules/@types/b/index.d.ts Imported via 'b' from file 'index.ts' - Entry point for implicit type library 'b' index.ts Matched by default include pattern '**/*' @@ -280,18 +278,11 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a 1 undefined Config: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a 1 undefined Config: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a/node_modules 1 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a/node_modules 1 undefined Project: /home/src/projects/project/node_modules/@types/a/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/node_modules/@types/a/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/node_modules/@types/a/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a 0 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a 0 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a/package.json 2000 undefined Project: /home/src/projects/project/node_modules/@types/a/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/node_modules/@types/a/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/node_modules/@types/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/b/package.json 2000 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a/node_modules/@types 1 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/a/node_modules/@types 1 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types/node_modules/@types 1 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Type roots @@ -304,19 +295,15 @@ 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/node_modules/@types 1 undefined Project: /home/src/projects/project/node_modules/@types/a/tsconfig.json WatchType: Type roots 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) +Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /home/src/projects/project/node_modules/@types/a/index.d.ts Text-1 "{}" - /home/src/projects/project/node_modules/@types/b/index.d.ts Text-1 "{}" ../../../../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' index.d.ts Matched by default include pattern '**/*' - Entry point for implicit type library 'a' - ../b/index.d.ts - Entry point for implicit type library 'b' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -346,8 +333,8 @@ Info seq [hh:mm:ss:mss] event: "tsSize": 0, "tsx": 0, "tsxSize": 0, - "dts": 3, - "dtsSize": 378, + "dts": 2, + "dtsSize": 376, "deferred": 0, "deferredSize": 0 }, @@ -385,7 +372,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -411,8 +398,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/package.json: {"pollingInterval":2000} -/home/src/projects/project/node_modules/@types/a/node_modules: *new* - {"pollingInterval":500} /home/src/projects/project/node_modules/@types/a/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types/a/package.json: @@ -435,8 +420,6 @@ FsWatches:: {} /home/src/projects/project: {} -/home/src/projects/project/node_modules/@types/a: *new* - {} /home/src/projects/project/node_modules/@types/a/tsconfig.json: *new* {} /home/src/projects/project/tsconfig.json: @@ -474,11 +457,10 @@ ScriptInfos:: containingProjects: 2 *changed* /home/src/projects/project/tsconfig.json /home/src/projects/project/node_modules/@types/a/tsconfig.json *default* *new* -/home/src/projects/project/node_modules/@types/b/index.d.ts *changed* +/home/src/projects/project/node_modules/@types/b/index.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 1 /home/src/projects/project/tsconfig.json - /home/src/projects/project/node_modules/@types/a/tsconfig.json *new* /home/src/tslibs/TS/Lib/lib.d.ts *changed* version: Text-1 containingProjects: 2 *changed* @@ -504,7 +486,7 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- 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) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -513,7 +495,7 @@ Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/node_modules/@types/a/index.d.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/node_modules/@types/a/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/src/projects/project/node_modules/@types/b/index.d.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json,/home/src/projects/project/node_modules/@types/a/tsconfig.json +Info seq [hh:mm:ss:mss] Projects: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, @@ -537,9 +519,8 @@ ScriptInfos:: /home/src/projects/project/node_modules/@types/b/index.d.ts (Open) *changed* open: true *changed* version: Text-1 - containingProjects: 2 + containingProjects: 1 /home/src/projects/project/tsconfig.json *default* - /home/src/projects/project/node_modules/@types/a/tsconfig.json /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index 6f8823f72db40..38f8d83d25825 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -329,7 +329,6 @@ Info seq [hh:mm:ss:mss] Files (3) Default library for target 'es5' node_modules/@types/pad/index.d.ts Imported via "pad" from file 'a.ts' - Entry point for implicit type library 'pad' a.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js index 866daecad40f6..b940acefa6837 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 @@ -65,34 +65,22 @@ 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] 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] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /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 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/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/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution 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 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots 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) +Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" - /users/username/projects/project/node_modules/@types/lib1/index.d.ts Text-1 "export let a: number" ../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' app.ts Matched by default include pattern '**/*' - node_modules/@types/lib1/index.d.ts - Entry point for implicit type library 'lib1' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -122,8 +110,8 @@ Info seq [hh:mm:ss:mss] event: "tsSize": 10, "tsx": 0, "tsxSize": 0, - "dts": 2, - "dtsSize": 394, + "dts": 1, + "dtsSize": 374, "deferred": 0, "deferredSize": 0 }, @@ -157,7 +145,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -179,16 +167,6 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/lib1/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* @@ -199,8 +177,6 @@ FsWatches:: FsWatchesRecursive:: /users/username/projects/project: *new* {} -/users/username/projects/project/node_modules: *new* - {} /users/username/projects/project/node_modules/@types: *new* {} @@ -219,36 +195,25 @@ ScriptInfos:: version: SVC-1-0 containingProjects: 1 /users/username/projects/project/tsconfig.json *default* -/users/username/projects/project/node_modules/@types/lib1/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: 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] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: 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] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: 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] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: 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] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /users/username/projects/project/tsconfig.json Detected excluded file: /users/username/projects/project/node_modules/@types/lib1/index.d.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib1/index.d.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -4: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation -5: /users/username/projects/project/tsconfig.json -6: *ensureProjectForOpenFiles* +1: /users/username/projects/project/tsconfig.json +2: *ensureProjectForOpenFiles* +3: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation //// [/users/username/projects/project/node_modules/@types/lib1/index.d.ts] deleted Timeout callback:: count: 3 -4: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *new* -5: /users/username/projects/project/tsconfig.json *new* -6: *ensureProjectForOpenFiles* *new* +1: /users/username/projects/project/tsconfig.json *new* +2: *ensureProjectForOpenFiles* *new* +3: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* @@ -257,62 +222,15 @@ Projects:: dirty: true *changed* autoImportProviderHost: false -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 1 - /users/username/projects/project/tsconfig.json -/users/username/projects/project/app.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /users/username/projects/project/tsconfig.json *default* -/users/username/projects/project/node_modules/@types/lib1/index.d.ts *changed* - version: Text-1 - pendingReloadFromDisk: true *changed* - deferredDelete: true *changed* - containingProjects: 0 *changed* - /users/username/projects/project/tsconfig.json *deleted* - -Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json 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/node_modules 1 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/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: 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:: Close:: 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:: Close:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -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] 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 (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - app.ts - Matched by default include pattern '**/*' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "configFileDiag", - "body": { - "triggerFile": "/users/username/projects/project/tsconfig.json", - "configFile": "/users/username/projects/project/tsconfig.json", - "diagnostics": [ - { - "text": "Cannot find type definition file for 'lib1'.\n The file is in the program because:\n Entry point for implicit type library 'lib1'", - "code": 2688, - "category": "error" - } - ] - } - } Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) @@ -344,55 +262,21 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/users/username/projects/node_modules: *new* - {"pollingInterval":500} -/users/username/projects/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/lib1/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/users/username/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/users/username/projects/project: - {} -/users/username/projects/project/node_modules: - {} -/users/username/projects/project/node_modules/@types: - {} +Timeout callback:: count: 0 +3: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *deleted* Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* dirty: false *changed* - autoImportProviderHost: undefined *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: 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] Scheduled: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: 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] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: 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] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /users/username/projects/project/tsconfig.json Detected excluded file: /users/username/projects/project/node_modules/@types/lib2 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2 :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory @@ -401,60 +285,42 @@ Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.js Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2/index.d.ts :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib2/index.d.ts :: 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] Scheduled: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2/index.d.ts :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib2/index.d.ts :: 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:: Triggered with /users/username/projects/project/node_modules/@types/lib2/index.d.ts :: 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] DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2/index.d.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Project: /users/username/projects/project/tsconfig.json Detected excluded file: /users/username/projects/project/node_modules/@types/lib2/index.d.ts Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/node_modules/@types/lib2/index.d.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Before running Timeout callback:: count: 3 -11: /users/username/projects/project/tsconfig.json -12: *ensureProjectForOpenFiles* -14: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation +7: /users/username/projects/project/tsconfig.json +8: *ensureProjectForOpenFiles* +9: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation //// [/users/username/projects/project/node_modules/@types/lib2/index.d.ts] export let b: number Timeout callback:: count: 3 -11: /users/username/projects/project/tsconfig.json *new* -12: *ensureProjectForOpenFiles* *new* -14: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *new* +7: /users/username/projects/project/tsconfig.json *new* +8: *ensureProjectForOpenFiles* *new* +9: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 *changed* projectProgramVersion: 2 dirty: true *changed* + autoImportProviderHost: false Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/lib2/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 -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/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/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution 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) +Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /users/username/projects/project/app.ts SVC-1-0 "let x = 1;" - /users/username/projects/project/node_modules/@types/lib2/index.d.ts Text-1 "export let b: number" - - - ../../../../home/src/tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - app.ts - Matched by default include pattern '**/*' - node_modules/@types/lib2/index.d.ts - Entry point for implicit type library 'lib2' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -462,7 +328,7 @@ Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/app.ts Proj Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (3) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -482,60 +348,12 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/users/username/projects/node_modules: - {"pollingInterval":500} -/users/username/projects/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/lib2/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} - -FsWatches:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {} -/users/username/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/users/username/projects/project: - {} -/users/username/projects/project/node_modules: - {} -/users/username/projects/project/node_modules/@types: - {} - Timeout callback:: count: 0 -14: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *deleted* +9: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *deleted* Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 3 projectProgramVersion: 3 *changed* dirty: false *changed* - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 1 - /users/username/projects/project/tsconfig.json -/users/username/projects/project/app.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /users/username/projects/project/tsconfig.json *default* -/users/username/projects/project/node_modules/@types/lib1/index.d.ts - version: Text-1 - pendingReloadFromDisk: true - deferredDelete: true - containingProjects: 0 -/users/username/projects/project/node_modules/@types/lib2/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /users/username/projects/project/tsconfig.json + autoImportProviderHost: false diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js index 65a393e5e7e32..bff2143a6be38 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js @@ -98,32 +98,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test 1 undefined Config: /user/username/projects/myproject/test/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test 1 undefined Config: /user/username/projects/myproject/test/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'UpperCasePackage', containing file '/user/username/projects/myproject/test/__inferred type names__.ts', root directory '/user/username/projects/myproject/lib/@types,/user/username/projects/myproject/lib/@app'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/user/username/projects/myproject/lib/@types, /user/username/projects/myproject/lib/@app'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage/package.json' does not exist. -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] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'lib', containing file '/user/username/projects/myproject/test/__inferred type names__.ts', root directory '/user/username/projects/myproject/lib/@types,/user/username/projects/myproject/lib/@app'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/user/username/projects/myproject/lib/@types, /user/username/projects/myproject/lib/@app'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/lib.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/lib.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/lib/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/@app/lib/index.d.ts', result '/user/username/projects/myproject/lib/@app/lib/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'lib' was successfully resolved to '/user/username/projects/myproject/lib/@app/lib/index.d.ts', primary: true. ======== -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@app/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'UpperCasePackage', containing file '/user/username/projects/myproject/lib/@app/lib/index.d.ts', root directory '/user/username/projects/myproject/lib/@types,/user/username/projects/myproject/lib/@app'. ======== -Info seq [hh:mm:ss:mss] Resolving with primary search path '/user/username/projects/myproject/lib/@types, /user/username/projects/myproject/lib/@app'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts', result '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts'. -Info seq [hh:mm:ss:mss] ======== Type reference directive 'UpperCasePackage' was successfully resolved to '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] 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 @@ -131,22 +105,15 @@ 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/lib/@app 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots 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) +Info seq [hh:mm:ss:mss] Files (2) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" /user/username/projects/myproject/test/test.ts SVC-1-0 "class TestClass1 {\n\n constructor() {\n var l = new TestLib();\n\n }\n\n public test2() {\n var x = new BrokenTest('',0,0,null);\n\n }\n}" - /user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts Text-1 "declare class BrokenTest {\n constructor(name: string, width: number, height: number, onSelect: Function);\n Name: string;\n SelectedFile: string;\n}" - /user/username/projects/myproject/lib/@app/lib/index.d.ts Text-1 "/// \ndeclare class TestLib {\n issue: BrokenTest;\n constructor();\n test(): void;\n}" ../../../../../home/src/tslibs/TS/Lib/lib.d.ts Default library for target 'es5' test.ts Matched by default include pattern '**/*' - ../lib/@types/UpperCasePackage/index.d.ts - Entry point for implicit type library 'UpperCasePackage' - Type library referenced via 'UpperCasePackage' from file '../lib/@app/lib/index.d.ts' - ../lib/@app/lib/index.d.ts - Entry point for implicit type library 'lib' Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -176,8 +143,8 @@ Info seq [hh:mm:ss:mss] event: "tsSize": 153, "tsx": 0, "tsxSize": 0, - "dts": 3, - "dtsSize": 656, + "dts": 1, + "dtsSize": 374, "deferred": 0, "deferredSize": 0 }, @@ -233,7 +200,7 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: @@ -255,16 +222,10 @@ After request FsWatches:: /home/src/tslibs/TS/Lib/lib.d.ts: *new* {} -/user/username/projects/myproject/lib/@app/lib/index.d.ts: *new* - {} -/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts: *new* - {} /user/username/projects/myproject/test/tsconfig.json: *new* {} FsWatchesRecursive:: -/user/username/projects/myproject/lib: *new* - {} /user/username/projects/myproject/lib/@app: *new* {} /user/username/projects/myproject/lib/@types: *new* @@ -283,26 +244,12 @@ ScriptInfos:: version: Text-1 containingProjects: 1 /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/lib/@app/lib/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts *new* - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json /user/username/projects/myproject/test/test.ts (Open) *new* version: SVC-1-0 containingProjects: 1 /user/username/projects/myproject/test/tsconfig.json *default* -Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/lib/@app/lib/index.d.ts 1:: WatchInfo: /user/username/projects/myproject/lib/@app/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/lib/@app/lib/index.d.ts 1:: WatchInfo: /user/username/projects/myproject/lib/@app/lib/index.d.ts 500 undefined WatchType: Closed Script info -Before running Timeout callback:: count: 2 -1: /user/username/projects/myproject/test/tsconfig.json -2: *ensureProjectForOpenFiles* +Before running Timeout callback:: count: 0 //// [/user/username/projects/myproject/lib/@app/lib/index.d.ts] /// declare class TestLib { @@ -312,101 +259,4 @@ declare class TestLib { } -Timeout callback:: count: 2 -1: /user/username/projects/myproject/test/tsconfig.json *new* -2: *ensureProjectForOpenFiles* *new* - -Projects:: -/user/username/projects/myproject/test/tsconfig.json (Configured) *changed* - projectStateVersion: 2 *changed* - projectProgramVersion: 1 - dirty: true *changed* - autoImportProviderHost: false - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/lib/@app/lib/index.d.ts *changed* - version: Text-1 - pendingReloadFromDisk: true *changed* - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/test/test.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json *default* - -Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'UpperCasePackage' from '/user/username/projects/myproject/lib/@app/lib/index.d.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts'. -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 "interface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };" - /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}" - -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -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/test/test.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles: -Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) -Info seq [hh:mm:ss:mss] Files (4) - -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/test/test.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] got projects updated in background /user/username/projects/myproject/test/test.ts -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "projectsUpdatedInBackground", - "body": { - "openFiles": [ - "/user/username/projects/myproject/test/test.ts" - ] - } - } After running Timeout callback:: count: 0 - -Projects:: -/user/username/projects/myproject/test/tsconfig.json (Configured) *changed* - projectStateVersion: 2 - projectProgramVersion: 1 - dirty: false *changed* - autoImportProviderHost: false - -ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/lib/@app/lib/index.d.ts *changed* - version: Text-2 *changed* - pendingReloadFromDisk: false *changed* - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts - version: Text-1 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json -/user/username/projects/myproject/test/test.ts (Open) - version: SVC-1-0 - containingProjects: 1 - /user/username/projects/myproject/test/tsconfig.json *default* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js index bbc144f569d49..85d824e9624e1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-duplicate-package.js @@ -29,7 +29,11 @@ Info seq [hh:mm:ss:mss] request: "command": "openExternalProject", "arguments": { "projectFileName": "/home/src/projects/project/a/app/test.csproj", - "options": {}, + "options": { + "types": [ + "*" + ] + }, "rootFiles": [ { "fileName": "/home/src/projects/project/a/b/app.js" @@ -62,14 +66,6 @@ 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/node_modules/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/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/package.json 2000 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/app/node_modules/@types 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/app/node_modules/@types 1 undefined Project: /home/src/projects/project/a/app/test.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/app/test.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/test.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/test.csproj 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/a/app/test.csproj 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/a/app/test.csproj WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Type roots 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) @@ -83,24 +79,18 @@ Info seq [hh:mm:ss:mss] Files (3) ../b/app.js Root file specified for compilation ../../node_modules/@types/node/index.d.ts - Entry point for implicit type library 'node' + Entry point of type library 'node' specified in compilerOptions Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: -/home/src/projects/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/package.json: *new* {"pollingInterval":2000} /home/src/projects/project/a/app/node_modules: *new* {"pollingInterval":500} -/home/src/projects/project/a/app/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/a/node_modules: *new* {"pollingInterval":500} -/home/src/projects/project/a/node_modules/@types: *new* - {"pollingInterval":500} /home/src/projects/project/node_modules/@types/node/package.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules/@types/package.json: *new* @@ -119,8 +109,6 @@ FsWatches:: FsWatchesRecursive:: /home/src/projects/project/node_modules: *new* {} -/home/src/projects/project/node_modules/@types: *new* - {} Projects:: /home/src/projects/project/a/app/test.csproj (External) *new* @@ -180,6 +168,9 @@ TI:: [hh:mm:ss:mss] Got install request "/home/src/projects/project/a/b/app.js" ], "compilerOptions": { + "types": [ + "*" + ], "allowNonTsExtensions": true, "noEmitForJsFiles": true }, @@ -199,32 +190,10 @@ TI:: [hh:mm:ss:mss] Finished typings discovery: { "cachedTypingPaths": [], "newTypingNames": [], - "filesToWatch": [ - "/home/src/projects/project/a/b/bower_components", - "/home/src/projects/project/a/b/node_modules", - "/home/src/projects/project/a/app/bower_components", - "/home/src/projects/project/a/app/node_modules" - ] - } -TI:: [hh:mm:ss:mss] Sending response: - { - "kind": "action::watchTypingLocations", - "projectName": "/home/src/projects/project/a/app/test.csproj", - "files": [ - "/home/src/projects/project/a/b/bower_components", - "/home/src/projects/project/a/b/node_modules", - "/home/src/projects/project/a/app/bower_components", - "/home/src/projects/project/a/app/node_modules" - ] + "filesToWatch": [] } -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/bower_components 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/bower_components 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/b/node_modules 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/app/bower_components 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/app/bower_components 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/app/node_modules 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a/app/node_modules 1 undefined Project: /home/src/projects/project/a/app/test.csproj WatchType: Directory location for typing installer +TI:: [hh:mm:ss:mss] Closing file watchers for project '/home/src/projects/project/a/app/test.csproj' +TI:: [hh:mm:ss:mss] No watchers are registered for project '/home/src/projects/project/a/app/test.csproj' TI:: [hh:mm:ss:mss] Sending response: { "projectName": "/home/src/projects/project/a/app/test.csproj", @@ -234,6 +203,9 @@ TI:: [hh:mm:ss:mss] Sending response: "exclude": [] }, "compilerOptions": { + "types": [ + "*" + ], "allowNonTsExtensions": true, "noEmitForJsFiles": true }, @@ -254,6 +226,9 @@ Info seq [hh:mm:ss:mss] event: "exclude": [] }, "compilerOptions": { + "types": [ + "*" + ], "allowNonTsExtensions": true, "noEmitForJsFiles": true }, @@ -286,7 +261,11 @@ Info seq [hh:mm:ss:mss] event: "deferred": 0, "deferredSize": 0 }, - "compilerOptions": {}, + "compilerOptions": { + "types": [ + "" + ] + }, "typeAcquisition": { "enable": true, "include": false, @@ -315,46 +294,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/home/src/projects/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} -/home/src/projects/project/a/app/bower_components: *new* - {"pollingInterval":500} -/home/src/projects/project/a/app/node_modules: - {"pollingInterval":500} -/home/src/projects/project/a/app/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/a/b/bower_components: *new* - {"pollingInterval":500} -/home/src/projects/project/a/b/node_modules: *new* - {"pollingInterval":500} -/home/src/projects/project/a/node_modules: - {"pollingInterval":500} -/home/src/projects/project/a/node_modules/@types: - {"pollingInterval":500} -/home/src/projects/project/node_modules/@types/node/package.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules/@types/package.json: - {"pollingInterval":2000} -/home/src/projects/project/node_modules/package.json: - {"pollingInterval":2000} -/home/src/projects/project/package.json: - {"pollingInterval":2000} - -FsWatches:: -/home/src/projects/project/a/b/app.js: - {} -/home/src/tslibs/TS/Lib/lib.d.ts: - {} - -FsWatchesRecursive:: -/home/src/projects/project/node_modules: - {} -/home/src/projects/project/node_modules/@types: - {} - Projects:: /home/src/projects/project/a/app/test.csproj (External) *changed* projectStateVersion: 1 diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index 86e24b8137987..6b3164deef019 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 @@ -63,13 +63,13 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /wo Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/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: /workspaces/somerepo/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] 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/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/src/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] 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 Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src 0 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution @@ -92,7 +92,6 @@ Info seq [hh:mm:ss:mss] Files (3) Default library for target 'es5' ../node_modules/@types/random-seed/index.d.ts Imported via "random-seed" from file 'main.ts' - Entry point for implicit type library 'random-seed' main.ts Matched by default include pattern '**/*' @@ -320,8 +319,6 @@ After running Immedidate callback:: count: 0 Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules/@types/random-seed :: WatchInfo: /workspaces/somerepo/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Scheduled: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* -Info seq [hh:mm:ss:mss] Scheduled: /workspaces/somerepo/src/tsconfig.json, Cancelled earlier one -Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /workspaces/somerepo/node_modules/@types/random-seed :: WatchInfo: /workspaces/somerepo/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:: Triggered with /workspaces/somerepo/node_modules/@types/random-seed :: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Scheduled: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation @@ -389,10 +386,10 @@ FsWatches *deleted*:: {"inode":8} Timeout callback:: count: 4 -13: /workspaces/somerepo/src/tsconfig.json *new* -14: *ensureProjectForOpenFiles* *new* -16: timerToUpdateChildWatches *new* -18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +11: /workspaces/somerepo/src/tsconfig.json *new* +12: *ensureProjectForOpenFiles* *new* +14: timerToUpdateChildWatches *new* +16: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* @@ -432,20 +429,20 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 5 -13: /workspaces/somerepo/src/tsconfig.json -14: *ensureProjectForOpenFiles* -16: timerToUpdateChildWatches -18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -19: checkOne *new* +11: /workspaces/somerepo/src/tsconfig.json +12: *ensureProjectForOpenFiles* +14: timerToUpdateChildWatches +16: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +17: checkOne *new* Before running Timeout callback:: count: 5 -13: /workspaces/somerepo/src/tsconfig.json -14: *ensureProjectForOpenFiles* -16: timerToUpdateChildWatches -18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -19: checkOne +11: /workspaces/somerepo/src/tsconfig.json +12: *ensureProjectForOpenFiles* +14: timerToUpdateChildWatches +16: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +17: checkOne -Invoking Timeout callback:: timeoutId:: 19:: checkOne +Invoking Timeout callback:: timeoutId:: 17:: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution @@ -507,10 +504,10 @@ FsWatches:: {"inode":4} Timeout callback:: count: 3 -18: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* -13: /workspaces/somerepo/src/tsconfig.json -14: *ensureProjectForOpenFiles* -16: timerToUpdateChildWatches +16: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* +11: /workspaces/somerepo/src/tsconfig.json +12: *ensureProjectForOpenFiles* +14: timerToUpdateChildWatches Immedidate callback:: count: 1 3: semanticCheck *new* @@ -590,9 +587,9 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Before running Timeout callback:: count: 3 -13: /workspaces/somerepo/src/tsconfig.json -14: *ensureProjectForOpenFiles* -16: timerToUpdateChildWatches +11: /workspaces/somerepo/src/tsconfig.json +12: *ensureProjectForOpenFiles* +14: timerToUpdateChildWatches Info seq [hh:mm:ss:mss] Running: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles* @@ -655,9 +652,9 @@ Info seq [hh:mm:ss:mss] sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: After running Timeout callback:: count: 3 Timeout callback:: count: 3 -26: /workspaces/somerepo/src/tsconfig.json *new* -27: *ensureProjectForOpenFiles* *new* -28: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +24: /workspaces/somerepo/src/tsconfig.json *new* +25: *ensureProjectForOpenFiles* *new* +26: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* @@ -700,11 +697,11 @@ FsWatches:: {"inode":4} Timeout callback:: count: 4 -28: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* -26: /workspaces/somerepo/src/tsconfig.json -27: *ensureProjectForOpenFiles* -31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* -35: timerToUpdateChildWatches *new* +26: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* +24: /workspaces/somerepo/src/tsconfig.json +25: *ensureProjectForOpenFiles* +29: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +33: timerToUpdateChildWatches *new* Info seq [hh:mm:ss:mss] request: { @@ -721,20 +718,20 @@ Info seq [hh:mm:ss:mss] request: After request Timeout callback:: count: 5 -26: /workspaces/somerepo/src/tsconfig.json -27: *ensureProjectForOpenFiles* -31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -35: timerToUpdateChildWatches -36: checkOne *new* +24: /workspaces/somerepo/src/tsconfig.json +25: *ensureProjectForOpenFiles* +29: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +33: timerToUpdateChildWatches +34: checkOne *new* Before running Timeout callback:: count: 5 -26: /workspaces/somerepo/src/tsconfig.json -27: *ensureProjectForOpenFiles* -31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation -35: timerToUpdateChildWatches -36: checkOne +24: /workspaces/somerepo/src/tsconfig.json +25: *ensureProjectForOpenFiles* +29: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation +33: timerToUpdateChildWatches +34: checkOne -Invoking Timeout callback:: timeoutId:: 36:: checkOne +Invoking Timeout callback:: timeoutId:: 34:: checkOne Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution @@ -753,7 +750,6 @@ Info seq [hh:mm:ss:mss] Files (3) Default library for target 'es5' ../node_modules/@types/random-seed/index.d.ts Imported via "random-seed" from file 'main.ts' - Entry point for implicit type library 'random-seed' main.ts Matched by default include pattern '**/*' @@ -799,11 +795,11 @@ FsWatches:: {"inode":4} Timeout callback:: count: 3 -27: *ensureProjectForOpenFiles* *deleted* -31: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* -26: /workspaces/somerepo/src/tsconfig.json -35: timerToUpdateChildWatches -37: *ensureProjectForOpenFiles* *new* +25: *ensureProjectForOpenFiles* *deleted* +29: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* +24: /workspaces/somerepo/src/tsconfig.json +33: timerToUpdateChildWatches +35: *ensureProjectForOpenFiles* *new* Immedidate callback:: count: 1 5: semanticCheck *new* @@ -884,9 +880,9 @@ Info seq [hh:mm:ss:mss] event: After running Immedidate callback:: count: 0 Before running Timeout callback:: count: 3 -26: /workspaces/somerepo/src/tsconfig.json -35: timerToUpdateChildWatches -37: *ensureProjectForOpenFiles* +24: /workspaces/somerepo/src/tsconfig.json +33: timerToUpdateChildWatches +35: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Running: /workspaces/somerepo/src/tsconfig.json Info seq [hh:mm:ss:mss] sysLog:: onTimerToUpdateChildWatches:: 2 @@ -935,10 +931,10 @@ FsWatches:: {"inode":4} Timeout callback:: count: 3 -37: *ensureProjectForOpenFiles* *deleted* -39: /workspaces/somerepo/src/tsconfig.json *new* -40: *ensureProjectForOpenFiles* *new* -41: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* +35: *ensureProjectForOpenFiles* *deleted* +37: /workspaces/somerepo/src/tsconfig.json *new* +38: *ensureProjectForOpenFiles* *new* +39: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *new* Projects:: /workspaces/somerepo/src/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/typeReferenceDirectives1.trace.json b/tests/baselines/reference/typeReferenceDirectives1.trace.json index c26f57d965c16..d3d582f8eb382 100644 --- a/tests/baselines/reference/typeReferenceDirectives1.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives1.trace.json @@ -5,8 +5,5 @@ "File '/types/lib/package.json' does not exist.", "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives10.trace.json b/tests/baselines/reference/typeReferenceDirectives10.trace.json index e012935dca85a..9dca874c775da 100644 --- a/tests/baselines/reference/typeReferenceDirectives10.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives10.trace.json @@ -13,8 +13,5 @@ "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", - "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" + "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives12.trace.json b/tests/baselines/reference/typeReferenceDirectives12.trace.json index fe00328926225..0b27153c33968 100644 --- a/tests/baselines/reference/typeReferenceDirectives12.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives12.trace.json @@ -20,8 +20,5 @@ "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", "======== Resolving module './main' from '/mod1.ts'. ========", "Resolution for module './main' was found in cache from location '/'.", - "======== Module name './main' was successfully resolved to '/main.ts'. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" + "======== Module name './main' was successfully resolved to '/main.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives13.js b/tests/baselines/reference/typeReferenceDirectives13.js index c313b9a328cb8..89f2bfc9d95d7 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.js +++ b/tests/baselines/reference/typeReferenceDirectives13.js @@ -23,3 +23,24 @@ Object.defineProperty(exports, "__esModule", { value: true }); export interface A { x: () => typeof $; } + + +//// [DtsFileErrors] + + +/app.d.ts(2,21): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + + +==== /app.d.ts (1 errors) ==== + export interface A { + x: () => typeof $; + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + } + +==== /ref.d.ts (0 errors) ==== + export interface $ { x } + +==== /types/lib/index.d.ts (0 errors) ==== + declare let $: { x: number } + \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives13.trace.json b/tests/baselines/reference/typeReferenceDirectives13.trace.json index e012935dca85a..9dca874c775da 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives13.trace.json @@ -13,8 +13,5 @@ "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", - "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" + "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives3.trace.json b/tests/baselines/reference/typeReferenceDirectives3.trace.json index c26f57d965c16..d3d582f8eb382 100644 --- a/tests/baselines/reference/typeReferenceDirectives3.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives3.trace.json @@ -5,8 +5,5 @@ "File '/types/lib/package.json' does not exist.", "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives4.trace.json b/tests/baselines/reference/typeReferenceDirectives4.trace.json index c26f57d965c16..d3d582f8eb382 100644 --- a/tests/baselines/reference/typeReferenceDirectives4.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives4.trace.json @@ -5,8 +5,5 @@ "File '/types/lib/package.json' does not exist.", "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives5.js b/tests/baselines/reference/typeReferenceDirectives5.js index a25d608bcc6ce..6564a607dde7a 100644 --- a/tests/baselines/reference/typeReferenceDirectives5.js +++ b/tests/baselines/reference/typeReferenceDirectives5.js @@ -22,3 +22,24 @@ Object.defineProperty(exports, "__esModule", { value: true }); export interface A { x: typeof $; } + + +//// [DtsFileErrors] + + +/app.d.ts(2,15): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + + +==== /app.d.ts (1 errors) ==== + export interface A { + x: typeof $; + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + } + +==== /ref.d.ts (0 errors) ==== + export interface $ { x } + +==== /types/lib/index.d.ts (0 errors) ==== + declare let $: { x: number } + \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives5.trace.json b/tests/baselines/reference/typeReferenceDirectives5.trace.json index e012935dca85a..9dca874c775da 100644 --- a/tests/baselines/reference/typeReferenceDirectives5.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives5.trace.json @@ -13,8 +13,5 @@ "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", - "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" + "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives6.js b/tests/baselines/reference/typeReferenceDirectives6.js index 4541959f45c1c..be5c38e2c1eba 100644 --- a/tests/baselines/reference/typeReferenceDirectives6.js +++ b/tests/baselines/reference/typeReferenceDirectives6.js @@ -26,3 +26,27 @@ var y = function () { return x; }; //// [app.d.ts] declare let x: $; declare let y: () => $; + + +//// [DtsFileErrors] + + +/app.d.ts(1,16): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. +/app.d.ts(2,22): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + + +==== /app.d.ts (2 errors) ==== + declare let x: $; + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + declare let y: () => $; + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. + +==== /ref.d.ts (0 errors) ==== + declare let $: { x: number } + +==== /types/lib/index.d.ts (0 errors) ==== + interface $ { x } + + \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives6.trace.json b/tests/baselines/reference/typeReferenceDirectives6.trace.json index c26f57d965c16..d3d582f8eb382 100644 --- a/tests/baselines/reference/typeReferenceDirectives6.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives6.trace.json @@ -5,8 +5,5 @@ "File '/types/lib/package.json' does not exist.", "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives7.trace.json b/tests/baselines/reference/typeReferenceDirectives7.trace.json index c26f57d965c16..d3d582f8eb382 100644 --- a/tests/baselines/reference/typeReferenceDirectives7.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives7.trace.json @@ -5,8 +5,5 @@ "File '/types/lib/package.json' does not exist.", "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives9.js b/tests/baselines/reference/typeReferenceDirectives9.js index a5ffdad9bd5fd..e14cbfdbbac16 100644 --- a/tests/baselines/reference/typeReferenceDirectives9.js +++ b/tests/baselines/reference/typeReferenceDirectives9.js @@ -78,3 +78,48 @@ import "./mod1"; export declare const cls: typeof Cls; export declare const foo: Lib; export declare const bar: Lib; + + +//// [DtsFileErrors] + + +/mod1.d.ts(3,16): error TS2304: Cannot find name 'Lib'. +/mod1.d.ts(6,25): error TS2304: Cannot find name 'Lib'. +/mod2.d.ts(4,27): error TS2304: Cannot find name 'Lib'. +/mod2.d.ts(5,27): error TS2304: Cannot find name 'Lib'. + + +==== /mod2.d.ts (2 errors) ==== + import { Cls } from "./main"; + import "./mod1"; + export declare const cls: typeof Cls; + export declare const foo: Lib; + ~~~ +!!! error TS2304: Cannot find name 'Lib'. + export declare const bar: Lib; + ~~~ +!!! error TS2304: Cannot find name 'Lib'. + +==== /types/lib/index.d.ts (0 errors) ==== + interface Lib { x } + +==== /main.d.ts (0 errors) ==== + export declare class Cls { + x: any; + } + +==== /mod1.d.ts (2 errors) ==== + declare module "./main" { + interface Cls { + foo(): Lib; + ~~~ +!!! error TS2304: Cannot find name 'Lib'. + } + namespace Cls { + function bar(): Lib; + ~~~ +!!! error TS2304: Cannot find name 'Lib'. + } + } + export {}; + \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives9.trace.json b/tests/baselines/reference/typeReferenceDirectives9.trace.json index fe00328926225..0b27153c33968 100644 --- a/tests/baselines/reference/typeReferenceDirectives9.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives9.trace.json @@ -20,8 +20,5 @@ "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", "======== Resolving module './main' from '/mod1.ts'. ========", "Resolution for module './main' was found in cache from location '/'.", - "======== Module name './main' was successfully resolved to '/main.ts'. ========", - "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'lib' was found in cache from location '/'.", - "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" + "======== Module name './main' was successfully resolved to '/main.ts'. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt new file mode 100644 index 0000000000000..db6f88f82394b --- /dev/null +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt @@ -0,0 +1,35 @@ +/foo/bar/a.ts(1,19): error TS2307: Cannot find module 'xyz' or its corresponding type declarations. +/foo/bar/a.ts(2,19): error TS2307: Cannot find module 'pdq' or its corresponding type declarations. +/foo/bar/a.ts(3,19): error TS2307: Cannot find module 'abc' or its corresponding type declarations. + + +==== /foo/bar/tsconfig.json (0 errors) ==== + {} + +==== /foo/bar/a.ts (3 errors) ==== + import { x } from "xyz"; + ~~~~~ +!!! error TS2307: Cannot find module 'xyz' or its corresponding type declarations. + import { y } from "pdq"; + ~~~~~ +!!! error TS2307: Cannot find module 'pdq' or its corresponding type declarations. + import { z } from "abc"; + ~~~~~ +!!! error TS2307: Cannot find module 'abc' or its corresponding type declarations. + x + y + z; + +==== /node_modules/@types/dopey/index.d.ts (0 errors) ==== + declare module "xyz" { + export const x: number; + } + +==== /foo/node_modules/@types/grumpy/index.d.ts (0 errors) ==== + declare module "pdq" { + export const y: number; + } + +==== /foo/node_modules/@types/sneezy/index.d.ts (0 errors) ==== + declare module "abc" { + export const z: number; + } + \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols index b536c44585287..de0abd89dcdb4 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols @@ -15,27 +15,3 @@ x + y + z; >y : Symbol(y, Decl(a.ts, 1, 8)) >z : Symbol(z, Decl(a.ts, 2, 8)) -=== /node_modules/@types/dopey/index.d.ts === -declare module "xyz" { ->"xyz" : Symbol("xyz", Decl(index.d.ts, 0, 0)) - - export const x: number; ->x : Symbol(x, Decl(index.d.ts, 1, 16)) -} - -=== /foo/node_modules/@types/grumpy/index.d.ts === -declare module "pdq" { ->"pdq" : Symbol("pdq", Decl(index.d.ts, 0, 0)) - - export const y: number; ->y : Symbol(y, Decl(index.d.ts, 1, 16)) -} - -=== /foo/node_modules/@types/sneezy/index.d.ts === -declare module "abc" { ->"abc" : Symbol("abc", Decl(index.d.ts, 0, 0)) - - export const z: number; ->z : Symbol(z, Decl(index.d.ts, 1, 16)) -} - diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json index 97d7f28e7d645..0e5799b520959 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json @@ -70,40 +70,5 @@ "File '/foo/node_modules/abc.jsx' does not exist.", "File '/node_modules/abc.js' does not exist.", "File '/node_modules/abc.jsx' does not exist.", - "======== Module name 'abc' was not resolved. ========", - "======== Resolving type reference directive 'grumpy', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/bar/node_modules/@types,/foo/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/foo/bar/node_modules/@types, /foo/node_modules/@types, /node_modules/@types'.", - "Directory '/foo/bar/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/foo/node_modules/@types/grumpy/package.json' does not exist.", - "File '/foo/node_modules/@types/grumpy/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/foo/node_modules/@types/grumpy/index.d.ts', result '/foo/node_modules/@types/grumpy/index.d.ts'.", - "======== Type reference directive 'grumpy' was successfully resolved to '/foo/node_modules/@types/grumpy/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'sneezy', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/bar/node_modules/@types,/foo/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/foo/bar/node_modules/@types, /foo/node_modules/@types, /node_modules/@types'.", - "Directory '/foo/bar/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/foo/node_modules/@types/sneezy/package.json' does not exist.", - "File '/foo/node_modules/@types/sneezy/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/foo/node_modules/@types/sneezy/index.d.ts', result '/foo/node_modules/@types/sneezy/index.d.ts'.", - "======== Type reference directive 'sneezy' was successfully resolved to '/foo/node_modules/@types/sneezy/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'dopey', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/bar/node_modules/@types,/foo/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/foo/bar/node_modules/@types, /foo/node_modules/@types, /node_modules/@types'.", - "Directory '/foo/bar/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/node_modules/@types/dopey/package.json' does not exist.", - "File '/node_modules/@types/dopey/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/dopey/index.d.ts', result '/node_modules/@types/dopey/index.d.ts'.", - "======== Type reference directive 'dopey' was successfully resolved to '/node_modules/@types/dopey/index.d.ts', primary: true. ========", - "File '/foo/node_modules/@types/grumpy/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/@types/package.json' does not exist.", - "File '/foo/node_modules/package.json' does not exist.", - "File '/foo/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/@types/sneezy/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/@types/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/foo/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/dopey/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name 'abc' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types index 87678505fb11c..70a9d5d96fd80 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types @@ -2,56 +2,26 @@ === /foo/bar/a.ts === import { x } from "xyz"; ->x : number -> : ^^^^^^ +>x : any +> : ^^^ import { y } from "pdq"; ->y : number -> : ^^^^^^ +>y : any +> : ^^^ import { z } from "abc"; ->z : number -> : ^^^^^^ +>z : any +> : ^^^ x + y + z; ->x + y + z : number -> : ^^^^^^ ->x + y : number -> : ^^^^^^ ->x : number -> : ^^^^^^ ->y : number -> : ^^^^^^ ->z : number -> : ^^^^^^ - -=== /node_modules/@types/dopey/index.d.ts === -declare module "xyz" { ->"xyz" : typeof import("xyz") -> : ^^^^^^^^^^^^^^^^^^^^ - - export const x: number; ->x : number -> : ^^^^^^ -} - -=== /foo/node_modules/@types/grumpy/index.d.ts === -declare module "pdq" { ->"pdq" : typeof import("pdq") -> : ^^^^^^^^^^^^^^^^^^^^ - - export const y: number; ->y : number -> : ^^^^^^ -} - -=== /foo/node_modules/@types/sneezy/index.d.ts === -declare module "abc" { ->"abc" : typeof import("abc") -> : ^^^^^^^^^^^^^^^^^^^^ - - export const z: number; ->z : number -> : ^^^^^^ -} +>x + y + z : any +> : ^^^ +>x + y : any +> : ^^^ +>x : any +> : ^^^ +>y : any +> : ^^^ +>z : any +> : ^^^ diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt new file mode 100644 index 0000000000000..d7d47d3902218 --- /dev/null +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt @@ -0,0 +1,17 @@ +/src/a.ts(1,19): error TS2307: Cannot find module 'xyz' or its corresponding type declarations. + + +==== /src/tsconfig.json (0 errors) ==== + {} + +==== /src/a.ts (1 errors) ==== + import { x } from "xyz"; + ~~~~~ +!!! error TS2307: Cannot find module 'xyz' or its corresponding type declarations. + x; + +==== /node_modules/@types/foo/index.d.ts (0 errors) ==== + declare module "xyz" { + export const x: number; + } + \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols index 761a92a1326ed..2f058735cf2c2 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols @@ -7,11 +7,3 @@ import { x } from "xyz"; x; >x : Symbol(x, Decl(a.ts, 0, 8)) -=== /node_modules/@types/foo/index.d.ts === -declare module "xyz" { ->"xyz" : Symbol("xyz", Decl(index.d.ts, 0, 0)) - - export const x: number; ->x : Symbol(x, Decl(index.d.ts, 1, 16)) -} - diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json index 2b78ce0a78715..77c54b27ddd09 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json @@ -15,16 +15,5 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/xyz.js' does not exist.", "File '/node_modules/xyz.jsx' does not exist.", - "======== Module name 'xyz' was not resolved. ========", - "======== Resolving type reference directive 'foo', containing file '/src/__inferred type names__.ts', root directory '/src/node_modules/@types,/node_modules/@types'. ========", - "Resolving with primary search path '/src/node_modules/@types, /node_modules/@types'.", - "Directory '/src/node_modules/@types' does not exist, skipping all lookups in it.", - "File '/node_modules/@types/foo/package.json' does not exist.", - "File '/node_modules/@types/foo/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/foo/index.d.ts', result '/node_modules/@types/foo/index.d.ts'.", - "======== Type reference directive 'foo' was successfully resolved to '/node_modules/@types/foo/index.d.ts', primary: true. ========", - "File '/node_modules/@types/foo/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name 'xyz' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types index 56bb47b601886..a9e29085d4105 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types @@ -2,20 +2,10 @@ === /src/a.ts === import { x } from "xyz"; ->x : number -> : ^^^^^^ +>x : any +> : ^^^ x; ->x : number -> : ^^^^^^ - -=== /node_modules/@types/foo/index.d.ts === -declare module "xyz" { ->"xyz" : typeof import("xyz") -> : ^^^^^^^^^^^^^^^^^^^^ - - export const x: number; ->x : number -> : ^^^^^^ -} +>x : any +> : ^^^ diff --git a/tests/baselines/reference/typingsLookup1.trace.json b/tests/baselines/reference/typingsLookup1.trace.json index ef7b5ed7141b9..d54a0e28bb4ae 100644 --- a/tests/baselines/reference/typingsLookup1.trace.json +++ b/tests/baselines/reference/typingsLookup1.trace.json @@ -8,8 +8,5 @@ "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/package.json' does not exist.", "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", - "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts'. ========", - "Resolution for type reference directive 'jquery' was found in cache from location '/'.", - "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========" + "File '/package.json' does not exist." ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup3.errors.txt b/tests/baselines/reference/typingsLookup3.errors.txt index 5073cb549393c..8fac53ff71846 100644 --- a/tests/baselines/reference/typingsLookup3.errors.txt +++ b/tests/baselines/reference/typingsLookup3.errors.txt @@ -1,14 +1,17 @@ /a.ts(1,23): error TS2688: Cannot find type definition file for 'JqUeRy'. +/a.ts(2,1): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. ==== /tsconfig.json (0 errors) ==== { "files": "a.ts" } -==== /a.ts (1 errors) ==== +==== /a.ts (2 errors) ==== /// ~~~~~~ !!! error TS2688: Cannot find type definition file for 'JqUeRy'. $.x; + ~ +!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. ==== /node_modules/@types/jquery/index.d.ts (0 errors) ==== declare var $: { x: any }; diff --git a/tests/baselines/reference/typingsLookup3.symbols b/tests/baselines/reference/typingsLookup3.symbols index 743c42a1b8022..e677900ded5db 100644 --- a/tests/baselines/reference/typingsLookup3.symbols +++ b/tests/baselines/reference/typingsLookup3.symbols @@ -1,14 +1,7 @@ //// [tests/cases/conformance/typings/typingsLookup3.ts] //// === /a.ts === + /// $.x; ->$.x : Symbol(x, Decl(index.d.ts, 0, 16)) ->$ : Symbol($, Decl(index.d.ts, 0, 11)) ->x : Symbol(x, Decl(index.d.ts, 0, 16)) - -=== /node_modules/@types/jquery/index.d.ts === -declare var $: { x: any }; ->$ : Symbol($, Decl(index.d.ts, 0, 11)) ->x : Symbol(x, Decl(index.d.ts, 0, 16)) diff --git a/tests/baselines/reference/typingsLookup3.trace.json b/tests/baselines/reference/typingsLookup3.trace.json index d86e96fc05b93..e8b95c476ca71 100644 --- a/tests/baselines/reference/typingsLookup3.trace.json +++ b/tests/baselines/reference/typingsLookup3.trace.json @@ -5,15 +5,5 @@ "Searching all ancestor node_modules directories for preferred extensions: Declaration.", "File '/node_modules/JqUeRy.d.ts' does not exist.", "File '/node_modules/@types/JqUeRy.d.ts' does not exist.", - "======== Type reference directive 'JqUeRy' was not resolved. ========", - "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", - "Resolving with primary search path '/node_modules/@types'.", - "File '/node_modules/@types/jquery/package.json' does not exist.", - "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", - "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", - "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist." + "======== Type reference directive 'JqUeRy' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup3.types b/tests/baselines/reference/typingsLookup3.types index 378cdda8fa6c4..9f43c3fb7781a 100644 --- a/tests/baselines/reference/typingsLookup3.types +++ b/tests/baselines/reference/typingsLookup3.types @@ -5,15 +5,8 @@ $.x; >$.x : any > : ^^^ ->$ : { x: any; } -> : ^^^^^ ^^^ ->x : any +>$ : any > : ^^^ - -=== /node_modules/@types/jquery/index.d.ts === -declare var $: { x: any }; ->$ : { x: any; } -> : ^^^^^ ^^^ >x : any > : ^^^ diff --git a/tests/baselines/reference/typingsLookup4.trace.json b/tests/baselines/reference/typingsLookup4.trace.json index 23c9c5c1ede55..98e5097c83591 100644 --- a/tests/baselines/reference/typingsLookup4.trace.json +++ b/tests/baselines/reference/typingsLookup4.trace.json @@ -76,42 +76,5 @@ "File '/node_modules/@types/kquery/package.json' exists according to earlier cached lookups.", "File '/node_modules/@types/lquery/package.json' exists according to earlier cached lookups.", "File '/node_modules/@types/mquery/mquery/package.json' does not exist.", - "File '/node_modules/@types/mquery/package.json' exists according to earlier cached lookups.", - "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", - "Resolving with primary search path '/node_modules/@types'.", - "File '/node_modules/@types/jquery/package.json' exists according to earlier cached lookups.", - "'package.json' has 'typings' field 'jquery.d.ts' that references '/node_modules/@types/jquery/jquery.d.ts'.", - "File '/node_modules/@types/jquery/jquery.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/jquery/jquery.d.ts', result '/node_modules/@types/jquery/jquery.d.ts'.", - "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/jquery.d.ts', primary: true. ========", - "======== Resolving type reference directive 'kquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", - "Resolving with primary search path '/node_modules/@types'.", - "File '/node_modules/@types/kquery/package.json' exists according to earlier cached lookups.", - "'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.", - "Loading module as file / folder, candidate module location '/node_modules/@types/kquery/kquery', target file types: TypeScript, Declaration.", - "File '/node_modules/@types/kquery/kquery.ts' does not exist.", - "File '/node_modules/@types/kquery/kquery.tsx' does not exist.", - "File '/node_modules/@types/kquery/kquery.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/kquery/kquery.d.ts', result '/node_modules/@types/kquery/kquery.d.ts'.", - "======== Type reference directive 'kquery' was successfully resolved to '/node_modules/@types/kquery/kquery.d.ts', primary: true. ========", - "======== Resolving type reference directive 'lquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", - "Resolving with primary search path '/node_modules/@types'.", - "File '/node_modules/@types/lquery/package.json' exists according to earlier cached lookups.", - "'package.json' has 'typings' field 'lquery' that references '/node_modules/@types/lquery/lquery'.", - "Loading module as file / folder, candidate module location '/node_modules/@types/lquery/lquery', target file types: TypeScript, Declaration.", - "File '/node_modules/@types/lquery/lquery.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.", - "======== Type reference directive 'lquery' was successfully resolved to '/node_modules/@types/lquery/lquery.ts', primary: true. ========", - "======== Resolving type reference directive 'mquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", - "Resolving with primary search path '/node_modules/@types'.", - "File '/node_modules/@types/mquery/package.json' exists according to earlier cached lookups.", - "'package.json' has 'typings' field 'mquery' that references '/node_modules/@types/mquery/mquery'.", - "Loading module as file / folder, candidate module location '/node_modules/@types/mquery/mquery', target file types: TypeScript, Declaration.", - "File '/node_modules/@types/mquery/mquery.ts' does not exist.", - "File '/node_modules/@types/mquery/mquery.tsx' does not exist.", - "File '/node_modules/@types/mquery/mquery.d.ts' does not exist.", - "File '/node_modules/@types/mquery/mquery/index.ts' does not exist.", - "File '/node_modules/@types/mquery/mquery/index.tsx' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/mquery/mquery/index.tsx', result '/node_modules/@types/mquery/mquery/index.tsx'.", - "======== Type reference directive 'mquery' was successfully resolved to '/node_modules/@types/mquery/mquery/index.tsx', primary: true. ========" + "File '/node_modules/@types/mquery/package.json' exists according to earlier cached lookups." ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookupAmd.trace.json b/tests/baselines/reference/typingsLookupAmd.trace.json index f266972bda70c..1c0b47797a16b 100644 --- a/tests/baselines/reference/typingsLookupAmd.trace.json +++ b/tests/baselines/reference/typingsLookupAmd.trace.json @@ -51,11 +51,5 @@ "File '/node_modules/@types/a/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/package.json' does not exist.", "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "======== Resolving type reference directive 'a', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", - "Resolving with primary search path '/node_modules/@types'.", - "File '/node_modules/@types/a/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/a/index.d.ts' exists - use it as a name resolution result.", - "Resolving real path for '/node_modules/@types/a/index.d.ts', result '/node_modules/@types/a/index.d.ts'.", - "======== Type reference directive 'a' was successfully resolved to '/node_modules/@types/a/index.d.ts', primary: true. ========" + "File '/package.json' does not exist according to earlier cached lookups." ] \ No newline at end of file diff --git a/tests/cases/fourslash/completionsImport_umdModules1_globalAccess.ts b/tests/cases/fourslash/completionsImport_umdModules1_globalAccess.ts index 3e2225ec8c12a..6a54a3daa14a9 100644 --- a/tests/cases/fourslash/completionsImport_umdModules1_globalAccess.ts +++ b/tests/cases/fourslash/completionsImport_umdModules1_globalAccess.ts @@ -4,7 +4,7 @@ //// { "dependencies": { "@types/classnames": "*" } } // @filename: /tsconfig.json -//// { "compilerOptions": { "allowUmdGlobalAccess": true } } +//// { "compilerOptions": { "allowUmdGlobalAccess": true, "types": ["classnames"] } } // @filename: /node_modules/@types/classnames/package.json //// { "name": "@types/classnames", "types": "index.d.ts" } diff --git a/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts b/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts index c4a12dd453981..6f06ec6b721fb 100644 --- a/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts +++ b/tests/cases/fourslash/completionsImport_umdModules2_moduleExports.ts @@ -4,7 +4,7 @@ //// { "dependencies": { "@types/classnames": "*" } } // @filename: /tsconfig.json -//// {} +//// { "compilerOptions": { "types": ["classnames"] } } // @filename: /node_modules/@types/classnames/package.json //// { "name": "@types/classnames", "types": "index.d.ts" } diff --git a/tests/cases/fourslash/completionsImport_umdModules3_script.ts b/tests/cases/fourslash/completionsImport_umdModules3_script.ts index cdcf6da2287ea..ff817d81358ae 100644 --- a/tests/cases/fourslash/completionsImport_umdModules3_script.ts +++ b/tests/cases/fourslash/completionsImport_umdModules3_script.ts @@ -4,7 +4,7 @@ //// { "dependencies": { "@types/classnames": "*" } } // @filename: /tsconfig.json -//// { "compilerOptions": { "module": "es2015" }} +//// { "compilerOptions": { "module": "es2015", "types": ["classnames"] }} // @filename: /node_modules/@types/classnames/package.json //// { "name": "@types/classnames", "types": "index.d.ts" } diff --git a/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport3.ts b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport3.ts index 5b71a495d5196..7e2419eefba62 100644 --- a/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport3.ts +++ b/tests/cases/fourslash/server/autoImportPackageJsonFilterExistingImport3.ts @@ -1,6 +1,7 @@ /// -// @module: preserve +// @Filename: /home/src/workspaces/project/tsconfig.json +//// { "compilerOptions": { "types": ["node"], "module": "preserve" } } // @Filename: /home/src/workspaces/project/node_modules/@types/node/index.d.ts //// declare module "node:fs" { diff --git a/tests/cases/fourslash/server/autoImportProvider6.ts b/tests/cases/fourslash/server/autoImportProvider6.ts index 1e78cd44e858c..737047ad5e1d3 100644 --- a/tests/cases/fourslash/server/autoImportProvider6.ts +++ b/tests/cases/fourslash/server/autoImportProvider6.ts @@ -1,7 +1,7 @@ /// // @Filename: /home/src/workspaces/project/tsconfig.json -//// { "compilerOptions": { "module": "commonjs", "lib": ["es2019"] } } +//// { "compilerOptions": { "module": "commonjs", "lib": ["es2019"], "types": ["react"] } } // @Filename: /home/src/workspaces/project/package.json //// { "dependencies": { "antd": "*", "react": "*" } } diff --git a/tests/cases/fourslash/server/autoImportReExportFromAmbientModule.ts b/tests/cases/fourslash/server/autoImportReExportFromAmbientModule.ts index 281f4eb8d33a3..18ae68cd6d1b7 100644 --- a/tests/cases/fourslash/server/autoImportReExportFromAmbientModule.ts +++ b/tests/cases/fourslash/server/autoImportReExportFromAmbientModule.ts @@ -3,7 +3,8 @@ // @Filename: /home/src/workspaces/project/tsconfig.json //// { //// "compilerOptions": { -//// "module": "commonjs" +//// "module": "commonjs", +//// "types": ["node", "fs-extra"] //// } //// } diff --git a/tests/cases/fourslash/server/importNameCodeFix_pnpm1.ts b/tests/cases/fourslash/server/importNameCodeFix_pnpm1.ts index a412649767e16..0bf1d0730fb3f 100644 --- a/tests/cases/fourslash/server/importNameCodeFix_pnpm1.ts +++ b/tests/cases/fourslash/server/importNameCodeFix_pnpm1.ts @@ -1,7 +1,7 @@ /// // @Filename: /home/src/workspaces/project/tsconfig.json -//// { "compilerOptions": { "module": "commonjs" } } +//// { "compilerOptions": { "module": "commonjs", "types": ["react"] } } // @Filename: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts //// export declare function Component(): void; diff --git a/tests/cases/fourslash/server/importStatementCompletions_pnpm1.ts b/tests/cases/fourslash/server/importStatementCompletions_pnpm1.ts index 7e6a498959509..b433d987f0d41 100644 --- a/tests/cases/fourslash/server/importStatementCompletions_pnpm1.ts +++ b/tests/cases/fourslash/server/importStatementCompletions_pnpm1.ts @@ -1,7 +1,7 @@ /// // @Filename: /home/src/workspaces/project/tsconfig.json -//// { "compilerOptions": { "module": "commonjs" } } +//// { "compilerOptions": { "module": "commonjs", "types": ["react"] } } // @Filename: /home/src/workspaces/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts //// export declare function Component(): void; diff --git a/tests/cases/fourslash/server/importSuggestionsCache_coreNodeModules.ts b/tests/cases/fourslash/server/importSuggestionsCache_coreNodeModules.ts index a636e93f0e89c..aae01a6a721f3 100644 --- a/tests/cases/fourslash/server/importSuggestionsCache_coreNodeModules.ts +++ b/tests/cases/fourslash/server/importSuggestionsCache_coreNodeModules.ts @@ -8,7 +8,8 @@ //// "checkJs": true, //// "typeRoots": [ //// "node_modules/@types" -//// ] +//// ], +//// "types": ["node"] //// }, //// "include": ["**/*"], //// "typeAcquisition": { diff --git a/tests/cases/fourslash/server/importSuggestionsCache_invalidPackageJson.ts b/tests/cases/fourslash/server/importSuggestionsCache_invalidPackageJson.ts index 0f313a071ff87..a89394d8856fb 100644 --- a/tests/cases/fourslash/server/importSuggestionsCache_invalidPackageJson.ts +++ b/tests/cases/fourslash/server/importSuggestionsCache_invalidPackageJson.ts @@ -4,6 +4,7 @@ ////{ //// "compilerOptions": { //// "module": "commonjs", +//// "types": ["node"] //// }, ////} From 8eeb7029adb3ecb7778d535abe98f596c0e8593b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 23:50:54 +0000 Subject: [PATCH 04/12] Accept final baseline and verify tests pass All tests passing with new types default behavior Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com> --- ...oImportPackageJsonFilterExistingImport3.js | 1201 ++++++++++------- 1 file changed, 729 insertions(+), 472 deletions(-) diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js index 29958276e466f..38ece5386b284 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportPackageJsonFilterExistingImport3.js @@ -23,38 +23,104 @@ declare module "node:fs" { //// [/home/src/workspaces/project/package.json] {} +//// [/home/src/workspaces/project/tsconfig.json] +{ "compilerOptions": { "types": ["node"], "module": "preserve" } } + Info seq [hh:mm:ss:mss] request: { "seq": 0, "type": "request", "arguments": { - "file": "/home/src/workspaces/project/node_modules/@types/node/index.d.ts" + "file": "/home/src/workspaces/project/tsconfig.json" }, "command": "open" } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/node_modules/@types/node/index.d.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project/node_modules/@types/node -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Creating ConfiguredProject: /home/src/workspaces/project/tsconfig.json, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Config file +Info seq [hh:mm:ss:mss] Config: /home/src/workspaces/project/tsconfig.json : { + "rootNames": [ + "/home/src/workspaces/project/index.ts" + ], + "options": { + "types": [ + "node" + ], + "module": 200, + "configFilePath": "/home/src/workspaces/project/tsconfig.json" + } +} +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingStart", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json", + "reason": "Creating possible configured project for /home/src/workspaces/project/tsconfig.json to open" + } + } +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project 1 undefined Config: /home/src/workspaces/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules 1 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: Failed Lookup Locations +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/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: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/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/workspaces/project/node_modules/@types/node/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/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/workspaces/project/node_modules/@types/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/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/workspaces/project/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/node/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /home/src/workspaces/project/tsconfig.json WatchType: File location affecting resolution +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text + /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text + /home/src/workspaces/project/index.ts Text-1 "readFile" + /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" + + + ../../tslibs/TS/Lib/lib.d.ts + Default library for target 'es5' + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + index.ts + Matched by default include pattern '**/*' + node_modules/@types/node/index.d.ts + Entry point of type library 'node' specified in compilerOptions + +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "projectLoadingFinish", + "body": { + "projectName": "/home/src/workspaces/project/tsconfig.json" + } + } +Info seq [hh:mm:ss:mss] event: + { + "seq": 0, + "type": "event", + "event": "configFileDiag", + "body": { + "triggerFile": "/home/src/workspaces/project/tsconfig.json", + "configFile": "/home/src/workspaces/project/tsconfig.json", + "diagnostics": [] + } + } +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined:: Result: undefined +Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/src/workspaces/project +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/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] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/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/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -65,25 +131,30 @@ Info seq [hh:mm:ss:mss] Files (4) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/node_modules/@types/node/index.d.ts SVC-1-0 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" + /home/src/workspaces/project/tsconfig.json SVC-1-0 "{ \"compilerOptions\": { \"types\": [\"node\"], \"module\": \"preserve\" } }" - ../../../../../tslibs/TS/Lib/lib.d.ts + ../../tslibs/TS/Lib/lib.d.ts Default library for target 'es5' - ../../../../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../../../../tslibs/TS/Lib/lib.d.ts' - ../../../../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../../../../tslibs/TS/Lib/lib.d.ts' - index.d.ts + ../../tslibs/TS/Lib/lib.decorators.d.ts + Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' + ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts + Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' + tsconfig.json Root file specified for compilation +Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) + Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/node_modules/@types/node/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] response: { @@ -104,58 +175,69 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/home/src/workspaces/project/node_modules/@types/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/jsconfig.json: *new* +/home/src/workspaces/project/index.ts: *new* + {"pollingInterval":500} +/home/src/workspaces/project/jsconfig.json: *new* {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/node/index.d.ts: *new* + {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/tsconfig.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/tsconfig.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/jsconfig.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: *new* {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/tsconfig.json: *new* - {"pollingInterval":2000} /home/src/workspaces/project/package.json: *new* {"pollingInterval":2000} + {"pollingInterval":250} +/home/src/workspaces/project/tsconfig.json: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: *new* {} -/home/src/workspaces/project/node_modules/@types: *new* - {} -/home/src/workspaces/project/node_modules/@types/node/node_modules/@types: *new* +/home/src/workspaces/project: *new* {} -/home/src/workspaces/project/node_modules/@types/node_modules/@types: *new* +/home/src/workspaces/project/node_modules: *new* {} -/home/src/workspaces/project/node_modules/node_modules/@types: *new* +/home/src/workspaces/project/node_modules/@types: *new* {} Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *new* + projectStateVersion: 1 + projectProgramVersion: 1 + noOpenRef: true ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.d.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *new* version: Text-1 - containingProjects: 1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) *new* +/home/src/workspaces/project/index.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/node_modules/@types/node/index.d.ts *new* + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) *new* version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -169,58 +251,28 @@ Info seq [hh:mm:ss:mss] request: }, "command": "open" } -Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: undefined -Info seq [hh:mm:ss:mss] Creating InferredProject: /dev/null/inferredProject2*, currentDirectory: /home/src/workspaces/project -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots -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 (4) - /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text - /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/index.ts SVC-1-0 "readFile" - - - ../../tslibs/TS/Lib/lib.d.ts - Default library for target 'es5' - ../../tslibs/TS/Lib/lib.decorators.d.ts - Library referenced via 'decorators' from file '../../tslibs/TS/Lib/lib.d.ts' - ../../tslibs/TS/Lib/lib.decorators.legacy.d.ts - Library referenced via 'decorators.legacy' from file '../../tslibs/TS/Lib/lib.d.ts' - index.ts - Root file specified for compilation +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/workspaces/project/index.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/workspaces/project/index.ts ProjectRootPath: undefined:: Result: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) -Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) - Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: -Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/node_modules/@types/node/index.d.ts ProjectRootPath: undefined +Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/tsconfig.json ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /home/src/workspaces/project/index.ts ProjectRootPath: undefined -Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* +Info seq [hh:mm:ss:mss] Projects: /home/src/workspaces/project/tsconfig.json Info seq [hh:mm:ss:mss] response: { "seq": 0, "type": "response", "command": "open", "request_seq": 1, - "success": true, - "performanceData": { - "updateGraphDurationMs": * - } + "success": true } After Request watchedFiles:: @@ -230,76 +282,72 @@ watchedFiles:: {"pollingInterval":500} /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: {"pollingInterval":500} -/home/src/workspaces/project/jsconfig.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/jsconfig.json: +/home/src/workspaces/project/jsconfig.json: {"pollingInterval":2000} +/home/src/workspaces/project/node_modules/@types/node/index.d.ts: + {"pollingInterval":500} /home/src/workspaces/project/node_modules/@types/node/package.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/tsconfig.json: - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/@types/package.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/jsconfig.json: - {"pollingInterval":2000} /home/src/workspaces/project/node_modules/package.json: {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/tsconfig.json: - {"pollingInterval":2000} /home/src/workspaces/project/package.json: {"pollingInterval":2000} - {"pollingInterval":250} *new* -/home/src/workspaces/project/tsconfig.json: *new* + {"pollingInterval":250} +/home/src/workspaces/project/tsconfig.json: {"pollingInterval":2000} +watchedFiles *deleted*:: +/home/src/workspaces/project/index.ts: + {"pollingInterval":500} + watchedDirectoriesRecursive:: /home/src/workspaces/node_modules/@types: {} - {} *new* -/home/src/workspaces/project/node_modules/@types: - {} - {} *new* -/home/src/workspaces/project/node_modules/@types/node/node_modules/@types: +/home/src/workspaces/project: {} -/home/src/workspaces/project/node_modules/@types/node_modules/@types: +/home/src/workspaces/project/node_modules: {} -/home/src/workspaces/project/node_modules/node_modules/@types: +/home/src/workspaces/project/node_modules/@types: {} Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject2* (Inferred) *new* + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 1 projectProgramVersion: 1 - autoImportProviderHost: false + noOpenRef: false *changed* ScriptInfos:: -/home/src/tslibs/TS/Lib/lib.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/tslibs/TS/Lib/lib.decorators.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts *changed* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 - containingProjects: 2 *changed* + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* *new* -/home/src/workspaces/project/index.ts (Open) *new* - version: SVC-1-0 +/home/src/workspaces/project/index.ts (Open) *changed* + open: true *changed* + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -419,6 +467,17 @@ Info seq [hh:mm:ss:mss] response: "success": true, "body": [] } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false *changed* + Info seq [hh:mm:ss:mss] request: { "seq": 7, @@ -446,7 +505,8 @@ Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject2* (Inferred) *changed* + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 *changed* projectProgramVersion: 1 dirty: true *changed* @@ -456,23 +516,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-1 *changed* + version: SVC-2-1 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -504,23 +568,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-2 *changed* + version: SVC-2-2 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -573,23 +641,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-3 *changed* + version: SVC-2-3 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -642,23 +714,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-4 *changed* + version: SVC-2-4 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -711,23 +787,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-5 *changed* + version: SVC-2-5 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -780,23 +860,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-6 *changed* + version: SVC-2-6 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -849,23 +933,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-7 *changed* + version: SVC-2-7 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -918,23 +1006,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-8 *changed* + version: SVC-2-8 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -987,23 +1079,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-9 *changed* + version: SVC-2-9 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1056,23 +1152,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-10 *changed* + version: SVC-2-10 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1125,23 +1225,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-11 *changed* + version: SVC-2-11 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1194,23 +1298,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-12 *changed* + version: SVC-2-12 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1263,23 +1371,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-13 *changed* + version: SVC-2-13 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1332,23 +1444,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-14 *changed* + version: SVC-2-14 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1401,23 +1517,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-15 *changed* + version: SVC-2-15 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1470,23 +1590,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-16 *changed* + version: SVC-2-16 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1539,23 +1663,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-17 *changed* + version: SVC-2-17 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1608,23 +1736,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-18 *changed* + version: SVC-2-18 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1677,23 +1809,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-19 *changed* + version: SVC-2-19 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1746,23 +1882,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-20 *changed* + version: SVC-2-20 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1815,23 +1955,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-21 *changed* + version: SVC-2-21 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1884,23 +2028,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-22 *changed* + version: SVC-2-22 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -1953,23 +2101,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-23 *changed* + version: SVC-2-23 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2022,23 +2174,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-24 *changed* + version: SVC-2-24 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2091,23 +2247,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-25 *changed* + version: SVC-2-25 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2160,23 +2320,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-26 *changed* + version: SVC-2-26 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2229,23 +2393,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-27 *changed* + version: SVC-2-27 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2298,23 +2466,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-28 *changed* + version: SVC-2-28 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2367,23 +2539,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-29 *changed* + version: SVC-2-29 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2436,23 +2612,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-30 *changed* + version: SVC-2-30 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2505,23 +2685,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-31 *changed* + version: SVC-2-31 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2574,23 +2758,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-32 *changed* + version: SVC-2-32 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2643,23 +2831,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-33 *changed* + version: SVC-2-33 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2712,23 +2904,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-34 *changed* + version: SVC-2-34 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2781,23 +2977,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-35 *changed* + version: SVC-2-35 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2850,23 +3050,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-36 *changed* + version: SVC-2-36 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -2919,23 +3123,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-37 *changed* + version: SVC-2-37 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -3000,23 +3208,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-38 *changed* + version: SVC-2-38 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -3048,23 +3260,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-39 *changed* + version: SVC-2-39 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -3129,23 +3345,27 @@ ScriptInfos:: /home/src/tslibs/TS/Lib/lib.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts version: Text-1 containingProjects: 2 + /home/src/workspaces/project/tsconfig.json /dev/null/inferredProject1* - /dev/null/inferredProject2* /home/src/workspaces/project/index.ts (Open) *changed* - version: SVC-1-40 *changed* + version: SVC-2-40 *changed* containingProjects: 1 - /dev/null/inferredProject2* *default* -/home/src/workspaces/project/node_modules/@types/node/index.d.ts (Open) + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) version: SVC-1-0 containingProjects: 1 /dev/null/inferredProject1* *default* @@ -3177,15 +3397,15 @@ Info seq [hh:mm:ss:mss] request: }, "command": "syntacticDiagnosticsSync" } -Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/project/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) -Info seq [hh:mm:ss:mss] Files (4) +Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json +Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/workspaces/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info seq [hh:mm:ss:mss] Project '/home/src/workspaces/project/tsconfig.json' (Configured) +Info seq [hh:mm:ss:mss] Files (5) /home/src/tslibs/TS/Lib/lib.d.ts Text-1 lib.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.d.ts Text-1 lib.decorators.d.ts-Text /home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts Text-1 lib.decorators.legacy.d.ts-Text - /home/src/workspaces/project/index.ts SVC-1-40 "import { writeFile } from \"node:fs\";\nreadFile" + /home/src/workspaces/project/index.ts SVC-2-40 "import { writeFile } from \"node:fs\";\nreadFile" + /home/src/workspaces/project/node_modules/@types/node/index.d.ts Text-1 "declare module \"node:fs\" {\n export function readFile(): void;\n export function writeFile(): void;\n}" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] response: @@ -3201,59 +3421,12 @@ Info seq [hh:mm:ss:mss] response: "body": [] } After Request -watchedFiles:: -/home/src/tslibs/TS/Lib/lib.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.d.ts: - {"pollingInterval":500} -/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts: - {"pollingInterval":500} -/home/src/workspaces/project/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/package.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/node/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/package.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/@types/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/jsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/package.json: - {"pollingInterval":2000} -/home/src/workspaces/project/node_modules/tsconfig.json: - {"pollingInterval":2000} -/home/src/workspaces/project/package.json: - {"pollingInterval":2000} - {"pollingInterval":250} - {"pollingInterval":2000} *new* -/home/src/workspaces/project/tsconfig.json: - {"pollingInterval":2000} - -watchedDirectoriesRecursive:: -/home/src/workspaces/node_modules/@types: - {} - {} -/home/src/workspaces/project/node_modules/@types: - {} - {} -/home/src/workspaces/project/node_modules/@types/node/node_modules/@types: - {} -/home/src/workspaces/project/node_modules/@types/node_modules/@types: - {} -/home/src/workspaces/project/node_modules/node_modules/@types: - {} - Projects:: /dev/null/inferredProject1* (Inferred) projectStateVersion: 1 projectProgramVersion: 1 -/dev/null/inferredProject2* (Inferred) *changed* + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 projectProgramVersion: 2 *changed* dirty: false *changed* @@ -3277,21 +3450,6 @@ Info seq [hh:mm:ss:mss] response: "request_seq": 86, "success": true, "body": [ - { - "message": "Cannot find module 'node:fs' or its corresponding type declarations.", - "start": 26, - "length": 9, - "category": "error", - "code": 2307, - "startLocation": { - "line": 1, - "offset": 27 - }, - "endLocation": { - "line": 1, - "offset": 36 - } - }, { "message": "Cannot find name 'readFile'.", "start": 37, @@ -3351,12 +3509,12 @@ Info seq [hh:mm:ss:mss] request: "type": "request", "arguments": { "file": "/home/src/workspaces/project/index.ts", - "startLine": 1, - "startOffset": 27, - "endLine": 1, - "endOffset": 36, + "startLine": 2, + "startOffset": 1, + "endLine": 2, + "endOffset": 9, "errorCodes": [ - 2307 + 2304 ] }, "command": "getCodeFixes" @@ -3370,14 +3528,24 @@ Info seq [hh:mm:ss:mss] response: "success": true, "body": [ { - "fixName": "fixCannotFindModule", - "description": "Install '@types/node'", - "changes": [], - "commands": [ + "fixName": "import", + "description": "Update import from \"node:fs\"", + "changes": [ { - "type": "install package", - "file": "/home/src/workspaces/project/index.ts", - "packageName": "@types/node" + "fileName": "/home/src/workspaces/project/index.ts", + "textChanges": [ + { + "start": { + "line": 1, + "offset": 10 + }, + "end": { + "line": 1, + "offset": 10 + }, + "newText": "readFile, " + } + ] } ] } @@ -3387,31 +3555,6 @@ Info seq [hh:mm:ss:mss] request: { "seq": 89, "type": "request", - "arguments": { - "file": "/home/src/workspaces/project/index.ts", - "startLine": 2, - "startOffset": 1, - "endLine": 2, - "endOffset": 9, - "errorCodes": [ - 2304 - ] - }, - "command": "getCodeFixes" - } -Info seq [hh:mm:ss:mss] response: - { - "seq": 0, - "type": "response", - "command": "getCodeFixes", - "request_seq": 89, - "success": true, - "body": [] - } -Info seq [hh:mm:ss:mss] request: - { - "seq": 90, - "type": "request", "arguments": { "file": "/home/src/workspaces/project/index.ts", "startLine": 1, @@ -3429,7 +3572,7 @@ Info seq [hh:mm:ss:mss] response: "seq": 0, "type": "response", "command": "getCodeFixes", - "request_seq": 90, + "request_seq": 89, "success": true, "body": [ { @@ -3455,4 +3598,118 @@ Info seq [hh:mm:ss:mss] response: ] } ] - } \ No newline at end of file + } +Info seq [hh:mm:ss:mss] request: + { + "seq": 90, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 10, + "insertString": "readFile, " + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 90, + "success": true + } +After Request +Projects:: +/dev/null/inferredProject1* (Inferred) + projectStateVersion: 1 + projectProgramVersion: 1 + autoImportProviderHost: false +/home/src/workspaces/project/tsconfig.json (Configured) *changed* + projectStateVersion: 3 *changed* + projectProgramVersion: 2 + dirty: true *changed* + autoImportProviderHost: false + +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/workspaces/project/index.ts (Open) *changed* + version: SVC-2-41 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* + +Info seq [hh:mm:ss:mss] request: + { + "seq": 91, + "type": "request", + "arguments": { + "file": "/home/src/workspaces/project/index.ts", + "line": 1, + "offset": 10, + "endLine": 1, + "endOffset": 20, + "insertString": "" + }, + "command": "change" + } +Info seq [hh:mm:ss:mss] response: + { + "seq": 0, + "type": "response", + "command": "change", + "request_seq": 91, + "success": true + } +After Request +ScriptInfos:: +/home/src/tslibs/TS/Lib/lib.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/tslibs/TS/Lib/lib.decorators.legacy.d.ts + version: Text-1 + containingProjects: 2 + /home/src/workspaces/project/tsconfig.json + /dev/null/inferredProject1* +/home/src/workspaces/project/index.ts (Open) *changed* + version: SVC-2-42 *changed* + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json *default* +/home/src/workspaces/project/node_modules/@types/node/index.d.ts + version: Text-1 + containingProjects: 1 + /home/src/workspaces/project/tsconfig.json +/home/src/workspaces/project/tsconfig.json (Open) + version: SVC-1-0 + containingProjects: 1 + /dev/null/inferredProject1* *default* From 95e2cd01ee584899d702825b6f8edda8f6e12ebb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 00:02:25 +0000 Subject: [PATCH 05/12] Improve wildcard handling to support mixed types arrays - Enhanced wildcard logic to support mixing "*" with explicit types - Added test for wildcard combined with explicit types - This supports gradual migration pattern: types: ["*", "node", "jest"] - All 99,255 tests passing Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com> --- src/compiler/moduleNameResolver.ts | 71 ++++++++++--------- ...typesOptionWildcardWithExplicit.errors.txt | 25 +++++++ .../typesOptionWildcardWithExplicit.js | 22 ++++++ .../typesOptionWildcardWithExplicit.symbols | 26 +++++++ ...typesOptionWildcardWithExplicit.trace.json | 29 ++++++++ .../typesOptionWildcardWithExplicit.types | 36 ++++++++++ .../typesOptionWildcardWithExplicit.ts | 19 +++++ 7 files changed, 195 insertions(+), 33 deletions(-) create mode 100644 tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt create mode 100644 tests/baselines/reference/typesOptionWildcardWithExplicit.js create mode 100644 tests/baselines/reference/typesOptionWildcardWithExplicit.symbols create mode 100644 tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json create mode 100644 tests/baselines/reference/typesOptionWildcardWithExplicit.types create mode 100644 tests/cases/compiler/typesOptionWildcardWithExplicit.ts diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index eb839dbea6fdb..6e66e70847f3e 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -810,9 +810,44 @@ export function resolvePackageNameToPackageJson( export function getAutomaticTypeDirectiveNames(options: CompilerOptions, host: ModuleResolutionHost): string[] { // Use explicit type list from tsconfig.json if (options.types) { - // Check if the special "*" value is present, which means "include all" - if (options.types.length === 1 && options.types[0] === "*") { - // Fall through to enumerate all packages from typeRoots + // Check if the special "*" value is present, which means "include all from typeRoots" + const hasWildcard = options.types.includes("*"); + if (hasWildcard) { + // Enumerate all packages from typeRoots + const result: string[] = []; + if (host.directoryExists && host.getDirectories) { + const typeRoots = getEffectiveTypeRoots(options, host); + if (typeRoots) { + for (const root of typeRoots) { + if (host.directoryExists(root)) { + for (const typeDirectivePath of host.getDirectories(root)) { + const normalized = normalizePath(typeDirectivePath); + const packageJsonPath = combinePaths(root, normalized, "package.json"); + // `types-publisher` sometimes creates packages with `"typings": null` for packages that don't provide their own types. + // See `createNotNeededPackageJSON` in the types-publisher` repo. + // eslint-disable-next-line no-restricted-syntax + const isNotNeededPackage = host.fileExists(packageJsonPath) && (readJson(packageJsonPath, host) as PackageJson).typings === null; + if (!isNotNeededPackage) { + const baseFileName = getBaseFileName(normalized); + + // At this stage, skip results with leading dot. + if (baseFileName.charCodeAt(0) !== CharacterCodes.dot) { + // Return just the type directive names + result.push(baseFileName); + } + } + } + } + } + } + } + // Add any explicitly listed types that aren't already included (and aren't the wildcard itself) + for (const type of options.types) { + if (type !== "*" && !result.includes(type)) { + result.push(type); + } + } + return result; } else { return options.types; @@ -823,36 +858,6 @@ export function getAutomaticTypeDirectiveNames(options: CompilerOptions, host: M // This is a breaking change from the previous behavior which included all @types packages return emptyArray; } - - // Walk the primary type lookup locations - const result: string[] = []; - if (host.directoryExists && host.getDirectories) { - const typeRoots = getEffectiveTypeRoots(options, host); - if (typeRoots) { - for (const root of typeRoots) { - if (host.directoryExists(root)) { - for (const typeDirectivePath of host.getDirectories(root)) { - const normalized = normalizePath(typeDirectivePath); - const packageJsonPath = combinePaths(root, normalized, "package.json"); - // `types-publisher` sometimes creates packages with `"typings": null` for packages that don't provide their own types. - // See `createNotNeededPackageJSON` in the types-publisher` repo. - // eslint-disable-next-line no-restricted-syntax - const isNotNeededPackage = host.fileExists(packageJsonPath) && (readJson(packageJsonPath, host) as PackageJson).typings === null; - if (!isNotNeededPackage) { - const baseFileName = getBaseFileName(normalized); - - // At this stage, skip results with leading dot. - if (baseFileName.charCodeAt(0) !== CharacterCodes.dot) { - // Return just the type directive names - result.push(baseFileName); - } - } - } - } - } - } - } - return result; } export interface TypeReferenceDirectiveResolutionCache extends PerDirectoryResolutionCache, NonRelativeNameResolutionCache, PackageJsonInfoCache { diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt b/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt new file mode 100644 index 0000000000000..4da554078f594 --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt @@ -0,0 +1,25 @@ +error TS2688: Cannot find type definition file for 'extra'. + The file is in the program because: + Entry point of type library 'extra' specified in compilerOptions + + +!!! error TS2688: Cannot find type definition file for 'extra'. +!!! error TS2688: The file is in the program because: +!!! error TS2688: Entry point of type library 'extra' specified in compilerOptions +!!! related TS1419 /tsconfig.json:1:39: File is entry point of type library specified here. +==== /tsconfig.json (0 errors) ==== + { "compilerOptions": { "types": ["*", "extra"] } } + +==== /app.ts (0 errors) ==== + // With "types": ["*", "extra"], all @types packages are automatically included + // plus any explicitly listed types (even if they don't exist in @types) + // This is useful for gradual migration + $.x; + _.map; + +==== /node_modules/@types/jquery/index.d.ts (0 errors) ==== + declare var $: { x: number }; + +==== /node_modules/@types/lodash/index.d.ts (0 errors) ==== + declare var _: { map: any }; + \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.js b/tests/baselines/reference/typesOptionWildcardWithExplicit.js new file mode 100644 index 0000000000000..dcdd300cfcb6d --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.js @@ -0,0 +1,22 @@ +//// [tests/cases/compiler/typesOptionWildcardWithExplicit.ts] //// + +//// [index.d.ts] +declare var $: { x: number }; + +//// [index.d.ts] +declare var _: { map: any }; + +//// [app.ts] +// With "types": ["*", "extra"], all @types packages are automatically included +// plus any explicitly listed types (even if they don't exist in @types) +// This is useful for gradual migration +$.x; +_.map; + + +//// [app.js] +// With "types": ["*", "extra"], all @types packages are automatically included +// plus any explicitly listed types (even if they don't exist in @types) +// This is useful for gradual migration +$.x; +_.map; diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.symbols b/tests/baselines/reference/typesOptionWildcardWithExplicit.symbols new file mode 100644 index 0000000000000..509d17f328aea --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.symbols @@ -0,0 +1,26 @@ +//// [tests/cases/compiler/typesOptionWildcardWithExplicit.ts] //// + +=== /app.ts === +// With "types": ["*", "extra"], all @types packages are automatically included +// plus any explicitly listed types (even if they don't exist in @types) +// This is useful for gradual migration +$.x; +>$.x : Symbol(x, Decl(index.d.ts, 0, 16)) +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) + +_.map; +>_.map : Symbol(map, Decl(index.d.ts, 0, 16)) +>_ : Symbol(_, Decl(index.d.ts, 0, 11)) +>map : Symbol(map, Decl(index.d.ts, 0, 16)) + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: number }; +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) + +=== /node_modules/@types/lodash/index.d.ts === +declare var _: { map: any }; +>_ : Symbol(_, Decl(index.d.ts, 0, 11)) +>map : Symbol(map, Decl(index.d.ts, 0, 16)) + diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json b/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json new file mode 100644 index 0000000000000..01094f97ac3a7 --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json @@ -0,0 +1,29 @@ +[ + "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "File '/node_modules/@types/jquery/package.json' does not exist.", + "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", + "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", + "======== Resolving type reference directive 'lodash', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "File '/node_modules/@types/lodash/package.json' does not exist.", + "File '/node_modules/@types/lodash/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/lodash/index.d.ts', result '/node_modules/@types/lodash/index.d.ts'.", + "======== Type reference directive 'lodash' was successfully resolved to '/node_modules/@types/lodash/index.d.ts', primary: true. ========", + "======== Resolving type reference directive 'extra', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "Looking up in 'node_modules' folder, initial location '/'.", + "Searching all ancestor node_modules directories for preferred extensions: Declaration.", + "File '/node_modules/extra.d.ts' does not exist.", + "File '/node_modules/@types/extra.d.ts' does not exist.", + "======== Type reference directive 'extra' was not resolved. ========", + "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist.", + "File '/node_modules/@types/lodash/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups." +] \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.types b/tests/baselines/reference/typesOptionWildcardWithExplicit.types new file mode 100644 index 0000000000000..495b8184e5b2e --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.types @@ -0,0 +1,36 @@ +//// [tests/cases/compiler/typesOptionWildcardWithExplicit.ts] //// + +=== /app.ts === +// With "types": ["*", "extra"], all @types packages are automatically included +// plus any explicitly listed types (even if they don't exist in @types) +// This is useful for gradual migration +$.x; +>$.x : number +> : ^^^^^^ +>$ : { x: number; } +> : ^^^^^ ^^^ +>x : number +> : ^^^^^^ + +_.map; +>_.map : any +> : ^^^ +>_ : { map: any; } +> : ^^^^^^^ ^^^ +>map : any +> : ^^^ + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: number }; +>$ : { x: number; } +> : ^^^^^ ^^^ +>x : number +> : ^^^^^^ + +=== /node_modules/@types/lodash/index.d.ts === +declare var _: { map: any }; +>_ : { map: any; } +> : ^^^^^^^ ^^^ +>map : any +> : ^^^ + diff --git a/tests/cases/compiler/typesOptionWildcardWithExplicit.ts b/tests/cases/compiler/typesOptionWildcardWithExplicit.ts new file mode 100644 index 0000000000000..6a122b1ec1c9b --- /dev/null +++ b/tests/cases/compiler/typesOptionWildcardWithExplicit.ts @@ -0,0 +1,19 @@ +// @traceResolution: true +// @noImplicitReferences: true +// @currentDirectory: / + +// @filename: /tsconfig.json +{ "compilerOptions": { "types": ["*", "extra"] } } + +// @filename: /node_modules/@types/jquery/index.d.ts +declare var $: { x: number }; + +// @filename: /node_modules/@types/lodash/index.d.ts +declare var _: { map: any }; + +// @filename: /app.ts +// With "types": ["*", "extra"], all @types packages are automatically included +// plus any explicitly listed types (even if they don't exist in @types) +// This is useful for gradual migration +$.x; +_.map; From 25b06e826dc4238bc54e766228a03f70a37d3a73 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 00:43:32 +0000 Subject: [PATCH 06/12] Refactor getAutomaticTypeDirectiveNames for clarity - Early return when hasWildcard is false - Remove explanatory comments as code is self-documenting - Addresses code review feedback Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com> --- src/compiler/moduleNameResolver.ts | 66 ++++++++++++------------------ 1 file changed, 27 insertions(+), 39 deletions(-) diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index 6e66e70847f3e..caff32caf76d1 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -808,56 +808,44 @@ export function resolvePackageNameToPackageJson( * this list is only the set of defaults that are implicitly included. */ export function getAutomaticTypeDirectiveNames(options: CompilerOptions, host: ModuleResolutionHost): string[] { - // Use explicit type list from tsconfig.json if (options.types) { - // Check if the special "*" value is present, which means "include all from typeRoots" const hasWildcard = options.types.includes("*"); - if (hasWildcard) { - // Enumerate all packages from typeRoots - const result: string[] = []; - if (host.directoryExists && host.getDirectories) { - const typeRoots = getEffectiveTypeRoots(options, host); - if (typeRoots) { - for (const root of typeRoots) { - if (host.directoryExists(root)) { - for (const typeDirectivePath of host.getDirectories(root)) { - const normalized = normalizePath(typeDirectivePath); - const packageJsonPath = combinePaths(root, normalized, "package.json"); - // `types-publisher` sometimes creates packages with `"typings": null` for packages that don't provide their own types. - // See `createNotNeededPackageJSON` in the types-publisher` repo. - // eslint-disable-next-line no-restricted-syntax - const isNotNeededPackage = host.fileExists(packageJsonPath) && (readJson(packageJsonPath, host) as PackageJson).typings === null; - if (!isNotNeededPackage) { - const baseFileName = getBaseFileName(normalized); - - // At this stage, skip results with leading dot. - if (baseFileName.charCodeAt(0) !== CharacterCodes.dot) { - // Return just the type directive names - result.push(baseFileName); - } + if (!hasWildcard) { + return options.types; + } + + const result: string[] = []; + if (host.directoryExists && host.getDirectories) { + const typeRoots = getEffectiveTypeRoots(options, host); + if (typeRoots) { + for (const root of typeRoots) { + if (host.directoryExists(root)) { + for (const typeDirectivePath of host.getDirectories(root)) { + const normalized = normalizePath(typeDirectivePath); + const packageJsonPath = combinePaths(root, normalized, "package.json"); + // `types-publisher` sometimes creates packages with `"typings": null` for packages that don't provide their own types. + // See `createNotNeededPackageJSON` in the types-publisher` repo. + // eslint-disable-next-line no-restricted-syntax + const isNotNeededPackage = host.fileExists(packageJsonPath) && (readJson(packageJsonPath, host) as PackageJson).typings === null; + if (!isNotNeededPackage) { + const baseFileName = getBaseFileName(normalized); + if (baseFileName.charCodeAt(0) !== CharacterCodes.dot) { + result.push(baseFileName); } } } } } } - // Add any explicitly listed types that aren't already included (and aren't the wildcard itself) - for (const type of options.types) { - if (type !== "*" && !result.includes(type)) { - result.push(type); - } - } - return result; } - else { - return options.types; + for (const type of options.types) { + if (type !== "*" && !result.includes(type)) { + result.push(type); + } } + return result; } - else { - // When types is undefined (not specified in tsconfig), default to empty array - // This is a breaking change from the previous behavior which included all @types packages - return emptyArray; - } + return emptyArray; } export interface TypeReferenceDirectiveResolutionCache extends PerDirectoryResolutionCache, NonRelativeNameResolutionCache, PackageJsonInfoCache { From 148074cdb031d0e86c6a771afa8300415e7c82ff Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Thu, 22 Jan 2026 09:30:10 -0800 Subject: [PATCH 07/12] Put the wildcard expansion in its correct position --- src/compiler/moduleNameResolver.ts | 64 ++++++++++--------- ...typesOptionWildcardWithExplicit.errors.txt | 25 -------- ...typesOptionWildcardWithExplicit.trace.json | 7 -- .../typesOptionWildcardWithExplicit.types | 2 - 4 files changed, 33 insertions(+), 65 deletions(-) delete mode 100644 tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index caff32caf76d1..28c31b5dcfebd 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -26,6 +26,7 @@ import { emptyArray, endsWith, ensureTrailingDirectorySeparator, + equateValues, every, Extension, extensionIsTS, @@ -33,6 +34,7 @@ import { fileExtensionIsOneOf, filter, firstDefined, + flatten, forEach, forEachAncestorDirectory, formatMessage, @@ -808,44 +810,44 @@ export function resolvePackageNameToPackageJson( * this list is only the set of defaults that are implicitly included. */ export function getAutomaticTypeDirectiveNames(options: CompilerOptions, host: ModuleResolutionHost): string[] { - if (options.types) { - const hasWildcard = options.types.includes("*"); - if (!hasWildcard) { - return options.types; - } - - const result: string[] = []; - if (host.directoryExists && host.getDirectories) { - const typeRoots = getEffectiveTypeRoots(options, host); - if (typeRoots) { - for (const root of typeRoots) { - if (host.directoryExists(root)) { - for (const typeDirectivePath of host.getDirectories(root)) { - const normalized = normalizePath(typeDirectivePath); - const packageJsonPath = combinePaths(root, normalized, "package.json"); - // `types-publisher` sometimes creates packages with `"typings": null` for packages that don't provide their own types. - // See `createNotNeededPackageJSON` in the types-publisher` repo. - // eslint-disable-next-line no-restricted-syntax - const isNotNeededPackage = host.fileExists(packageJsonPath) && (readJson(packageJsonPath, host) as PackageJson).typings === null; - if (!isNotNeededPackage) { - const baseFileName = getBaseFileName(normalized); - if (baseFileName.charCodeAt(0) !== CharacterCodes.dot) { - result.push(baseFileName); - } + // Default to [] if nothing specified + if (options.types === undefined) { + return emptyArray; + } + + if (!options.types.includes("*")) { + // No wildcard, no need to iterate anything + return options.types; + } + + const wildcardMatches: string[] = []; + if (host.directoryExists && host.getDirectories) { + const typeRoots = getEffectiveTypeRoots(options, host); + if (typeRoots) { + for (const root of typeRoots) { + if (host.directoryExists(root)) { + for (const typeDirectivePath of host.getDirectories(root)) { + const normalized = normalizePath(typeDirectivePath); + const packageJsonPath = combinePaths(root, normalized, "package.json"); + // `types-publisher` sometimes creates packages with `"typings": null` for packages that don't provide their own types. + // See `createNotNeededPackageJSON` in the types-publisher` repo. + // eslint-disable-next-line no-restricted-syntax + const isNotNeededPackage = host.fileExists(packageJsonPath) && (readJson(packageJsonPath, host) as PackageJson).typings === null; + if (!isNotNeededPackage) { + const baseFileName = getBaseFileName(normalized); + if (baseFileName.charCodeAt(0) !== CharacterCodes.dot) { + wildcardMatches.push(baseFileName); } } } } } } - for (const type of options.types) { - if (type !== "*" && !result.includes(type)) { - result.push(type); - } - } - return result; } - return emptyArray; + + // Order potentially matters in program construction, so substitute + // in the wildcard in the position it was specified in the types array + return deduplicate(flatten(options.types.map(t => t === "*" ? wildcardMatches : [])), equateValues); } export interface TypeReferenceDirectiveResolutionCache extends PerDirectoryResolutionCache, NonRelativeNameResolutionCache, PackageJsonInfoCache { diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt b/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt deleted file mode 100644 index 4da554078f594..0000000000000 --- a/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt +++ /dev/null @@ -1,25 +0,0 @@ -error TS2688: Cannot find type definition file for 'extra'. - The file is in the program because: - Entry point of type library 'extra' specified in compilerOptions - - -!!! error TS2688: Cannot find type definition file for 'extra'. -!!! error TS2688: The file is in the program because: -!!! error TS2688: Entry point of type library 'extra' specified in compilerOptions -!!! related TS1419 /tsconfig.json:1:39: File is entry point of type library specified here. -==== /tsconfig.json (0 errors) ==== - { "compilerOptions": { "types": ["*", "extra"] } } - -==== /app.ts (0 errors) ==== - // With "types": ["*", "extra"], all @types packages are automatically included - // plus any explicitly listed types (even if they don't exist in @types) - // This is useful for gradual migration - $.x; - _.map; - -==== /node_modules/@types/jquery/index.d.ts (0 errors) ==== - declare var $: { x: number }; - -==== /node_modules/@types/lodash/index.d.ts (0 errors) ==== - declare var _: { map: any }; - \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json b/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json index 01094f97ac3a7..1934501dac3cf 100644 --- a/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json @@ -11,13 +11,6 @@ "File '/node_modules/@types/lodash/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/lodash/index.d.ts', result '/node_modules/@types/lodash/index.d.ts'.", "======== Type reference directive 'lodash' was successfully resolved to '/node_modules/@types/lodash/index.d.ts', primary: true. ========", - "======== Resolving type reference directive 'extra', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", - "Resolving with primary search path '/node_modules/@types'.", - "Looking up in 'node_modules' folder, initial location '/'.", - "Searching all ancestor node_modules directories for preferred extensions: Declaration.", - "File '/node_modules/extra.d.ts' does not exist.", - "File '/node_modules/@types/extra.d.ts' does not exist.", - "======== Type reference directive 'extra' was not resolved. ========", "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/package.json' does not exist.", "File '/node_modules/package.json' does not exist.", diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.types b/tests/baselines/reference/typesOptionWildcardWithExplicit.types index 495b8184e5b2e..c3674972508b4 100644 --- a/tests/baselines/reference/typesOptionWildcardWithExplicit.types +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.types @@ -14,7 +14,6 @@ $.x; _.map; >_.map : any -> : ^^^ >_ : { map: any; } > : ^^^^^^^ ^^^ >map : any @@ -32,5 +31,4 @@ declare var _: { map: any }; >_ : { map: any; } > : ^^^^^^^ ^^^ >map : any -> : ^^^ From 83af77128d2943197fbc5667bfb8c5452f02ef08 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 18:03:55 +0000 Subject: [PATCH 08/12] Fix tests with new errors from types default change Added explicit types arrays to tests that now have new errors: - moduleResolution_automaticTypeDirectiveNames: types: ["a"] - referenceTypesPreferedToPathIfPossible: types: ["node"] - typeRootsFromMultipleNodeModulesDirectories: types: ["dopey", "grumpy", "sneezy"] - typeRootsFromNodeModulesInParentDirectory: types: ["foo"] - typingsLookup3: types: ["jquery"] These tests relied on automatic @types inclusion and now require explicit configuration. Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com> --- tests/baselines/reference/typingsLookup3.errors.txt | 7 ++----- tests/baselines/reference/typingsLookup3.symbols | 9 ++++++++- tests/baselines/reference/typingsLookup3.trace.json | 12 +++++++++++- tests/baselines/reference/typingsLookup3.types | 9 ++++++++- .../moduleResolution_automaticTypeDirectiveNames.ts | 1 + .../referenceTypesPreferedToPathIfPossible.ts | 1 + .../typeRootsFromMultipleNodeModulesDirectories.ts | 2 +- .../typeRootsFromNodeModulesInParentDirectory.ts | 2 +- tests/cases/conformance/typings/typingsLookup3.ts | 2 +- 9 files changed, 34 insertions(+), 11 deletions(-) diff --git a/tests/baselines/reference/typingsLookup3.errors.txt b/tests/baselines/reference/typingsLookup3.errors.txt index 8fac53ff71846..699d5375bc071 100644 --- a/tests/baselines/reference/typingsLookup3.errors.txt +++ b/tests/baselines/reference/typingsLookup3.errors.txt @@ -1,17 +1,14 @@ /a.ts(1,23): error TS2688: Cannot find type definition file for 'JqUeRy'. -/a.ts(2,1): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. ==== /tsconfig.json (0 errors) ==== - { "files": "a.ts" } + { "files": "a.ts", "compilerOptions": { "types": ["jquery"] } } -==== /a.ts (2 errors) ==== +==== /a.ts (1 errors) ==== /// ~~~~~~ !!! error TS2688: Cannot find type definition file for 'JqUeRy'. $.x; - ~ -!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. ==== /node_modules/@types/jquery/index.d.ts (0 errors) ==== declare var $: { x: any }; diff --git a/tests/baselines/reference/typingsLookup3.symbols b/tests/baselines/reference/typingsLookup3.symbols index e677900ded5db..743c42a1b8022 100644 --- a/tests/baselines/reference/typingsLookup3.symbols +++ b/tests/baselines/reference/typingsLookup3.symbols @@ -1,7 +1,14 @@ //// [tests/cases/conformance/typings/typingsLookup3.ts] //// === /a.ts === - /// $.x; +>$.x : Symbol(x, Decl(index.d.ts, 0, 16)) +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: any }; +>$ : Symbol($, Decl(index.d.ts, 0, 11)) +>x : Symbol(x, Decl(index.d.ts, 0, 16)) diff --git a/tests/baselines/reference/typingsLookup3.trace.json b/tests/baselines/reference/typingsLookup3.trace.json index e8b95c476ca71..d86e96fc05b93 100644 --- a/tests/baselines/reference/typingsLookup3.trace.json +++ b/tests/baselines/reference/typingsLookup3.trace.json @@ -5,5 +5,15 @@ "Searching all ancestor node_modules directories for preferred extensions: Declaration.", "File '/node_modules/JqUeRy.d.ts' does not exist.", "File '/node_modules/@types/JqUeRy.d.ts' does not exist.", - "======== Type reference directive 'JqUeRy' was not resolved. ========" + "======== Type reference directive 'JqUeRy' was not resolved. ========", + "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "File '/node_modules/@types/jquery/package.json' does not exist.", + "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", + "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", + "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist." ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup3.types b/tests/baselines/reference/typingsLookup3.types index 9f43c3fb7781a..378cdda8fa6c4 100644 --- a/tests/baselines/reference/typingsLookup3.types +++ b/tests/baselines/reference/typingsLookup3.types @@ -5,8 +5,15 @@ $.x; >$.x : any > : ^^^ ->$ : any +>$ : { x: any; } +> : ^^^^^ ^^^ +>x : any > : ^^^ + +=== /node_modules/@types/jquery/index.d.ts === +declare var $: { x: any }; +>$ : { x: any; } +> : ^^^^^ ^^^ >x : any > : ^^^ diff --git a/tests/cases/compiler/moduleResolution_automaticTypeDirectiveNames.ts b/tests/cases/compiler/moduleResolution_automaticTypeDirectiveNames.ts index b5baa1bbe1643..b4343dbaf4db9 100644 --- a/tests/cases/compiler/moduleResolution_automaticTypeDirectiveNames.ts +++ b/tests/cases/compiler/moduleResolution_automaticTypeDirectiveNames.ts @@ -1,4 +1,5 @@ // @noImplicitReferences: true +// @types: a // @Filename: /node_modules/@types/.a/index.d.ts declare const a: number; diff --git a/tests/cases/compiler/referenceTypesPreferedToPathIfPossible.ts b/tests/cases/compiler/referenceTypesPreferedToPathIfPossible.ts index deabc4d0ac44e..47a1e5fbc4f30 100644 --- a/tests/cases/compiler/referenceTypesPreferedToPathIfPossible.ts +++ b/tests/cases/compiler/referenceTypesPreferedToPathIfPossible.ts @@ -1,5 +1,6 @@ // @declaration: true // @noImplicitReferences: true +// @types: node // @filename: /.src/node_modules/@types/node/index.d.ts declare module "url" { export class Url {} diff --git a/tests/cases/compiler/typeRootsFromMultipleNodeModulesDirectories.ts b/tests/cases/compiler/typeRootsFromMultipleNodeModulesDirectories.ts index b7f194706a8bd..fbdfcbedd9661 100644 --- a/tests/cases/compiler/typeRootsFromMultipleNodeModulesDirectories.ts +++ b/tests/cases/compiler/typeRootsFromMultipleNodeModulesDirectories.ts @@ -24,4 +24,4 @@ import { z } from "abc"; x + y + z; // @Filename: /foo/bar/tsconfig.json -{} +{ "compilerOptions": { "types": ["dopey", "grumpy", "sneezy"] } } diff --git a/tests/cases/compiler/typeRootsFromNodeModulesInParentDirectory.ts b/tests/cases/compiler/typeRootsFromNodeModulesInParentDirectory.ts index 59b7d6a3188cb..e05d2be1da7ae 100644 --- a/tests/cases/compiler/typeRootsFromNodeModulesInParentDirectory.ts +++ b/tests/cases/compiler/typeRootsFromNodeModulesInParentDirectory.ts @@ -12,4 +12,4 @@ import { x } from "xyz"; x; // @Filename: /src/tsconfig.json -{} +{ "compilerOptions": { "types": ["foo"] } } diff --git a/tests/cases/conformance/typings/typingsLookup3.ts b/tests/cases/conformance/typings/typingsLookup3.ts index 62ac683ba2a45..52be6a82337cd 100644 --- a/tests/cases/conformance/typings/typingsLookup3.ts +++ b/tests/cases/conformance/typings/typingsLookup3.ts @@ -4,7 +4,7 @@ // This tests that `types` references are not lowercased. // @filename: /tsconfig.json -{ "files": "a.ts" } +{ "files": "a.ts", "compilerOptions": { "types": ["jquery"] } } // @filename: /node_modules/@types/jquery/index.d.ts declare var $: { x: any }; From 5144841203d81f69e318b3a14c9651c29e2e354b Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Thu, 22 Jan 2026 10:13:25 -0800 Subject: [PATCH 09/12] Don't drop types --- src/compiler/moduleNameResolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index 28c31b5dcfebd..86355df079b26 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -847,7 +847,7 @@ export function getAutomaticTypeDirectiveNames(options: CompilerOptions, host: M // Order potentially matters in program construction, so substitute // in the wildcard in the position it was specified in the types array - return deduplicate(flatten(options.types.map(t => t === "*" ? wildcardMatches : [])), equateValues); + return deduplicate(flatten(options.types.map(t => t === "*" ? wildcardMatches : t)), equateValues); } export interface TypeReferenceDirectiveResolutionCache extends PerDirectoryResolutionCache, NonRelativeNameResolutionCache, PackageJsonInfoCache { From 3b0d3381f92e587ea05b84d4922a6f56283ed9a9 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Thu, 22 Jan 2026 10:15:25 -0800 Subject: [PATCH 10/12] Fix baseline --- ...typesOptionWildcardWithExplicit.errors.txt | 25 +++++++++++++++++++ ...typesOptionWildcardWithExplicit.trace.json | 7 ++++++ .../typesOptionWildcardWithExplicit.types | 2 ++ 3 files changed, 34 insertions(+) create mode 100644 tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt b/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt new file mode 100644 index 0000000000000..4da554078f594 --- /dev/null +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.errors.txt @@ -0,0 +1,25 @@ +error TS2688: Cannot find type definition file for 'extra'. + The file is in the program because: + Entry point of type library 'extra' specified in compilerOptions + + +!!! error TS2688: Cannot find type definition file for 'extra'. +!!! error TS2688: The file is in the program because: +!!! error TS2688: Entry point of type library 'extra' specified in compilerOptions +!!! related TS1419 /tsconfig.json:1:39: File is entry point of type library specified here. +==== /tsconfig.json (0 errors) ==== + { "compilerOptions": { "types": ["*", "extra"] } } + +==== /app.ts (0 errors) ==== + // With "types": ["*", "extra"], all @types packages are automatically included + // plus any explicitly listed types (even if they don't exist in @types) + // This is useful for gradual migration + $.x; + _.map; + +==== /node_modules/@types/jquery/index.d.ts (0 errors) ==== + declare var $: { x: number }; + +==== /node_modules/@types/lodash/index.d.ts (0 errors) ==== + declare var _: { map: any }; + \ No newline at end of file diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json b/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json index 1934501dac3cf..01094f97ac3a7 100644 --- a/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.trace.json @@ -11,6 +11,13 @@ "File '/node_modules/@types/lodash/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/lodash/index.d.ts', result '/node_modules/@types/lodash/index.d.ts'.", "======== Type reference directive 'lodash' was successfully resolved to '/node_modules/@types/lodash/index.d.ts', primary: true. ========", + "======== Resolving type reference directive 'extra', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", + "Resolving with primary search path '/node_modules/@types'.", + "Looking up in 'node_modules' folder, initial location '/'.", + "Searching all ancestor node_modules directories for preferred extensions: Declaration.", + "File '/node_modules/extra.d.ts' does not exist.", + "File '/node_modules/@types/extra.d.ts' does not exist.", + "======== Type reference directive 'extra' was not resolved. ========", "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/package.json' does not exist.", "File '/node_modules/package.json' does not exist.", diff --git a/tests/baselines/reference/typesOptionWildcardWithExplicit.types b/tests/baselines/reference/typesOptionWildcardWithExplicit.types index c3674972508b4..495b8184e5b2e 100644 --- a/tests/baselines/reference/typesOptionWildcardWithExplicit.types +++ b/tests/baselines/reference/typesOptionWildcardWithExplicit.types @@ -14,6 +14,7 @@ $.x; _.map; >_.map : any +> : ^^^ >_ : { map: any; } > : ^^^^^^^ ^^^ >map : any @@ -31,4 +32,5 @@ declare var _: { map: any }; >_ : { map: any; } > : ^^^^^^^ ^^^ >map : any +> : ^^^ From 89de5f669e9a3d29832752e389ee2c905c405a91 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Thu, 22 Jan 2026 11:09:35 -0800 Subject: [PATCH 11/12] Missed baselines --- ...ion_automaticTypeDirectiveNames.errors.txt | 14 ----- ...lution_automaticTypeDirectiveNames.symbols | 6 +- ...solution_automaticTypeDirectiveNames.types | 9 ++- ...ceTypesPreferedToPathIfPossible.errors.txt | 14 ----- .../referenceTypesPreferedToPathIfPossible.js | 2 +- ...renceTypesPreferedToPathIfPossible.symbols | 11 ++++ ...ferenceTypesPreferedToPathIfPossible.types | 33 +++++++--- ...mMultipleNodeModulesDirectories.errors.txt | 35 ----------- ...FromMultipleNodeModulesDirectories.symbols | 24 +++++++ ...mMultipleNodeModulesDirectories.trace.json | 37 ++++++++++- ...tsFromMultipleNodeModulesDirectories.types | 62 ++++++++++++++----- ...romNodeModulesInParentDirectory.errors.txt | 17 ----- ...tsFromNodeModulesInParentDirectory.symbols | 8 +++ ...romNodeModulesInParentDirectory.trace.json | 13 +++- ...ootsFromNodeModulesInParentDirectory.types | 18 ++++-- 15 files changed, 187 insertions(+), 116 deletions(-) delete mode 100644 tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt delete mode 100644 tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt delete mode 100644 tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt delete mode 100644 tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt diff --git a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt deleted file mode 100644 index d29804366cec2..0000000000000 --- a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.errors.txt +++ /dev/null @@ -1,14 +0,0 @@ -/a.ts(1,1): error TS2304: Cannot find name 'a'. - - -==== /a.ts (1 errors) ==== - a; - ~ -!!! error TS2304: Cannot find name 'a'. - -==== /node_modules/@types/.a/index.d.ts (0 errors) ==== - declare const a: number; - -==== /node_modules/@types/a/index.d.ts (0 errors) ==== - declare const a: string; - \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols index 506621698788a..43dc30b3cd88c 100644 --- a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols +++ b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.symbols @@ -1,6 +1,10 @@ //// [tests/cases/compiler/moduleResolution_automaticTypeDirectiveNames.ts] //// === /a.ts === - a; +>a : Symbol(a, Decl(index.d.ts, 0, 13)) + +=== /node_modules/@types/a/index.d.ts === +declare const a: string; +>a : Symbol(a, Decl(index.d.ts, 0, 13)) diff --git a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types index 66346ecd64aba..9cf45a8fa177b 100644 --- a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types +++ b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.types @@ -2,6 +2,11 @@ === /a.ts === a; ->a : any -> : ^^^ +>a : string +> : ^^^^^^ + +=== /node_modules/@types/a/index.d.ts === +declare const a: string; +>a : string +> : ^^^^^^ diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt deleted file mode 100644 index 206f1d2fc6383..0000000000000 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.errors.txt +++ /dev/null @@ -1,14 +0,0 @@ -usage.ts(1,23): error TS2307: Cannot find module 'url' or its corresponding type declarations. - - -==== usage.ts (1 errors) ==== - import { parse } from "url"; - ~~~~~ -!!! error TS2307: Cannot find module 'url' or its corresponding type declarations. - export const thing = () => parse(); - -==== node_modules/@types/node/index.d.ts (0 errors) ==== - declare module "url" { - export class Url {} - export function parse(): Url; - } \ No newline at end of file diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js index 37a4881f241ad..5c423dfd0b560 100644 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.js @@ -20,4 +20,4 @@ exports.thing = thing; //// [usage.d.ts] -export declare const thing: () => any; +export declare const thing: () => import("url").Url; diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols index 773b08850aa4c..97521d6d025ca 100644 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.symbols @@ -8,3 +8,14 @@ export const thing = () => parse(); >thing : Symbol(thing, Decl(usage.ts, 1, 12)) >parse : Symbol(parse, Decl(usage.ts, 0, 8)) +=== node_modules/@types/node/index.d.ts === +declare module "url" { +>"url" : Symbol("url", Decl(index.d.ts, 0, 0)) + + export class Url {} +>Url : Symbol(Url, Decl(index.d.ts, 0, 22)) + + export function parse(): Url; +>parse : Symbol(parse, Decl(index.d.ts, 1, 23)) +>Url : Symbol(Url, Decl(index.d.ts, 0, 22)) +} diff --git a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types index 862a1650f630e..38494113a2a37 100644 --- a/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types +++ b/tests/baselines/reference/referenceTypesPreferedToPathIfPossible.types @@ -2,16 +2,29 @@ === usage.ts === import { parse } from "url"; ->parse : any -> : ^^^ +>parse : () => import("url").Url +> : ^^^^^^ ^^^^^ ^^^ export const thing = () => parse(); ->thing : () => any -> : ^^^^^^^^^ ->() => parse() : () => any -> : ^^^^^^^^^ ->parse() : any -> : ^^^ ->parse : any -> : ^^^ +>thing : () => import("url").Url +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>() => parse() : () => import("url").Url +> : ^^^^^^^^^^^^^^^^^^^^^^^ +>parse() : import("url").Url +> : ^^^^^^^^^^^^^^^^^ +>parse : () => import("url").Url +> : ^^^^^^ ^^^^^ ^^^ +=== node_modules/@types/node/index.d.ts === +declare module "url" { +>"url" : typeof import("url") +> : ^^^^^^^^^^^^^^^^^^^^ + + export class Url {} +>Url : Url +> : ^^^ + + export function parse(): Url; +>parse : () => Url +> : ^^^^^^ +} diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt deleted file mode 100644 index db6f88f82394b..0000000000000 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.errors.txt +++ /dev/null @@ -1,35 +0,0 @@ -/foo/bar/a.ts(1,19): error TS2307: Cannot find module 'xyz' or its corresponding type declarations. -/foo/bar/a.ts(2,19): error TS2307: Cannot find module 'pdq' or its corresponding type declarations. -/foo/bar/a.ts(3,19): error TS2307: Cannot find module 'abc' or its corresponding type declarations. - - -==== /foo/bar/tsconfig.json (0 errors) ==== - {} - -==== /foo/bar/a.ts (3 errors) ==== - import { x } from "xyz"; - ~~~~~ -!!! error TS2307: Cannot find module 'xyz' or its corresponding type declarations. - import { y } from "pdq"; - ~~~~~ -!!! error TS2307: Cannot find module 'pdq' or its corresponding type declarations. - import { z } from "abc"; - ~~~~~ -!!! error TS2307: Cannot find module 'abc' or its corresponding type declarations. - x + y + z; - -==== /node_modules/@types/dopey/index.d.ts (0 errors) ==== - declare module "xyz" { - export const x: number; - } - -==== /foo/node_modules/@types/grumpy/index.d.ts (0 errors) ==== - declare module "pdq" { - export const y: number; - } - -==== /foo/node_modules/@types/sneezy/index.d.ts (0 errors) ==== - declare module "abc" { - export const z: number; - } - \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols index de0abd89dcdb4..b536c44585287 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.symbols @@ -15,3 +15,27 @@ x + y + z; >y : Symbol(y, Decl(a.ts, 1, 8)) >z : Symbol(z, Decl(a.ts, 2, 8)) +=== /node_modules/@types/dopey/index.d.ts === +declare module "xyz" { +>"xyz" : Symbol("xyz", Decl(index.d.ts, 0, 0)) + + export const x: number; +>x : Symbol(x, Decl(index.d.ts, 1, 16)) +} + +=== /foo/node_modules/@types/grumpy/index.d.ts === +declare module "pdq" { +>"pdq" : Symbol("pdq", Decl(index.d.ts, 0, 0)) + + export const y: number; +>y : Symbol(y, Decl(index.d.ts, 1, 16)) +} + +=== /foo/node_modules/@types/sneezy/index.d.ts === +declare module "abc" { +>"abc" : Symbol("abc", Decl(index.d.ts, 0, 0)) + + export const z: number; +>z : Symbol(z, Decl(index.d.ts, 1, 16)) +} + diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json index 0e5799b520959..0effd5a1fd693 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json @@ -70,5 +70,40 @@ "File '/foo/node_modules/abc.jsx' does not exist.", "File '/node_modules/abc.js' does not exist.", "File '/node_modules/abc.jsx' does not exist.", - "======== Module name 'abc' was not resolved. ========" + "======== Module name 'abc' was not resolved. ========", + "======== Resolving type reference directive 'dopey', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/bar/node_modules/@types,/foo/node_modules/@types,/node_modules/@types'. ========", + "Resolving with primary search path '/foo/bar/node_modules/@types, /foo/node_modules/@types, /node_modules/@types'.", + "Directory '/foo/bar/node_modules/@types' does not exist, skipping all lookups in it.", + "File '/node_modules/@types/dopey/package.json' does not exist.", + "File '/node_modules/@types/dopey/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/dopey/index.d.ts', result '/node_modules/@types/dopey/index.d.ts'.", + "======== Type reference directive 'dopey' was successfully resolved to '/node_modules/@types/dopey/index.d.ts', primary: true. ========", + "======== Resolving type reference directive 'grumpy', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/bar/node_modules/@types,/foo/node_modules/@types,/node_modules/@types'. ========", + "Resolving with primary search path '/foo/bar/node_modules/@types, /foo/node_modules/@types, /node_modules/@types'.", + "Directory '/foo/bar/node_modules/@types' does not exist, skipping all lookups in it.", + "File '/foo/node_modules/@types/grumpy/package.json' does not exist.", + "File '/foo/node_modules/@types/grumpy/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/foo/node_modules/@types/grumpy/index.d.ts', result '/foo/node_modules/@types/grumpy/index.d.ts'.", + "======== Type reference directive 'grumpy' was successfully resolved to '/foo/node_modules/@types/grumpy/index.d.ts', primary: true. ========", + "======== Resolving type reference directive 'sneezy', containing file '/foo/bar/__inferred type names__.ts', root directory '/foo/bar/node_modules/@types,/foo/node_modules/@types,/node_modules/@types'. ========", + "Resolving with primary search path '/foo/bar/node_modules/@types, /foo/node_modules/@types, /node_modules/@types'.", + "Directory '/foo/bar/node_modules/@types' does not exist, skipping all lookups in it.", + "File '/foo/node_modules/@types/sneezy/package.json' does not exist.", + "File '/foo/node_modules/@types/sneezy/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/foo/node_modules/@types/sneezy/index.d.ts', result '/foo/node_modules/@types/sneezy/index.d.ts'.", + "======== Type reference directive 'sneezy' was successfully resolved to '/foo/node_modules/@types/sneezy/index.d.ts', primary: true. ========", + "File '/node_modules/@types/dopey/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/@types/grumpy/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/@types/package.json' does not exist.", + "File '/foo/node_modules/package.json' does not exist.", + "File '/foo/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/@types/sneezy/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/@types/package.json' does not exist according to earlier cached lookups.", + "File '/foo/node_modules/package.json' does not exist according to earlier cached lookups.", + "File '/foo/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist according to earlier cached lookups." ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types index 70a9d5d96fd80..87678505fb11c 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.types @@ -2,26 +2,56 @@ === /foo/bar/a.ts === import { x } from "xyz"; ->x : any -> : ^^^ +>x : number +> : ^^^^^^ import { y } from "pdq"; ->y : any -> : ^^^ +>y : number +> : ^^^^^^ import { z } from "abc"; ->z : any -> : ^^^ +>z : number +> : ^^^^^^ x + y + z; ->x + y + z : any -> : ^^^ ->x + y : any -> : ^^^ ->x : any -> : ^^^ ->y : any -> : ^^^ ->z : any -> : ^^^ +>x + y + z : number +> : ^^^^^^ +>x + y : number +> : ^^^^^^ +>x : number +> : ^^^^^^ +>y : number +> : ^^^^^^ +>z : number +> : ^^^^^^ + +=== /node_modules/@types/dopey/index.d.ts === +declare module "xyz" { +>"xyz" : typeof import("xyz") +> : ^^^^^^^^^^^^^^^^^^^^ + + export const x: number; +>x : number +> : ^^^^^^ +} + +=== /foo/node_modules/@types/grumpy/index.d.ts === +declare module "pdq" { +>"pdq" : typeof import("pdq") +> : ^^^^^^^^^^^^^^^^^^^^ + + export const y: number; +>y : number +> : ^^^^^^ +} + +=== /foo/node_modules/@types/sneezy/index.d.ts === +declare module "abc" { +>"abc" : typeof import("abc") +> : ^^^^^^^^^^^^^^^^^^^^ + + export const z: number; +>z : number +> : ^^^^^^ +} diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt deleted file mode 100644 index d7d47d3902218..0000000000000 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.errors.txt +++ /dev/null @@ -1,17 +0,0 @@ -/src/a.ts(1,19): error TS2307: Cannot find module 'xyz' or its corresponding type declarations. - - -==== /src/tsconfig.json (0 errors) ==== - {} - -==== /src/a.ts (1 errors) ==== - import { x } from "xyz"; - ~~~~~ -!!! error TS2307: Cannot find module 'xyz' or its corresponding type declarations. - x; - -==== /node_modules/@types/foo/index.d.ts (0 errors) ==== - declare module "xyz" { - export const x: number; - } - \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols index 2f058735cf2c2..761a92a1326ed 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.symbols @@ -7,3 +7,11 @@ import { x } from "xyz"; x; >x : Symbol(x, Decl(a.ts, 0, 8)) +=== /node_modules/@types/foo/index.d.ts === +declare module "xyz" { +>"xyz" : Symbol("xyz", Decl(index.d.ts, 0, 0)) + + export const x: number; +>x : Symbol(x, Decl(index.d.ts, 1, 16)) +} + diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json index 77c54b27ddd09..2b78ce0a78715 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json @@ -15,5 +15,16 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/xyz.js' does not exist.", "File '/node_modules/xyz.jsx' does not exist.", - "======== Module name 'xyz' was not resolved. ========" + "======== Module name 'xyz' was not resolved. ========", + "======== Resolving type reference directive 'foo', containing file '/src/__inferred type names__.ts', root directory '/src/node_modules/@types,/node_modules/@types'. ========", + "Resolving with primary search path '/src/node_modules/@types, /node_modules/@types'.", + "Directory '/src/node_modules/@types' does not exist, skipping all lookups in it.", + "File '/node_modules/@types/foo/package.json' does not exist.", + "File '/node_modules/@types/foo/index.d.ts' exists - use it as a name resolution result.", + "Resolving real path for '/node_modules/@types/foo/index.d.ts', result '/node_modules/@types/foo/index.d.ts'.", + "======== Type reference directive 'foo' was successfully resolved to '/node_modules/@types/foo/index.d.ts', primary: true. ========", + "File '/node_modules/@types/foo/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/package.json' does not exist.", + "File '/node_modules/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups." ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types index a9e29085d4105..56bb47b601886 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.types @@ -2,10 +2,20 @@ === /src/a.ts === import { x } from "xyz"; ->x : any -> : ^^^ +>x : number +> : ^^^^^^ x; ->x : any -> : ^^^ +>x : number +> : ^^^^^^ + +=== /node_modules/@types/foo/index.d.ts === +declare module "xyz" { +>"xyz" : typeof import("xyz") +> : ^^^^^^^^^^^^^^^^^^^^ + + export const x: number; +>x : number +> : ^^^^^^ +} From 387b02acf51133e43f5b45fccaf3ba715f70a7a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 23:11:56 +0000 Subject: [PATCH 12/12] Fix all tests with unintentional error changes Added explicit types arrays to tests that had NEW errors after the default change: - tsc/incremental: react-jsx tests now have types: ["react"] - tsbuild/moduleResolution: type-reference-resolution test now has types: ["sometype"] - tscWatch/resolutionCache: tests now have types: ["node"] - tsserver tests: added types for node, lib1, lib2, typings - compiler tests: jsDeclarationsTypeReferences and typeReferenceDirectives tests now have explicit @types directives All tests now pass with only expected errors (no unintentional changes). Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com> --- .../unittests/tsbuild/moduleResolution.ts | 4 ++-- src/testRunner/unittests/tsc/incremental.ts | 4 ++-- .../unittests/tscWatch/resolutionCache.ts | 5 ++++- .../unittests/tsserver/configuredProjects.ts | 2 +- .../getMoveToRefactoringFileSuggestions.ts | 2 +- .../unittests/tsserver/resolutionCache.ts | 2 +- .../reference/typeReferenceDirectives13.js | 21 ------------------- .../typeReferenceDirectives13.trace.json | 5 ++++- .../compiler/typeReferenceDirectives13.ts | 1 + .../compiler/typeReferenceDirectives5.ts | 1 + .../compiler/typeReferenceDirectives6.ts | 1 + .../compiler/typeReferenceDirectives9.ts | 1 + .../jsDeclarationsTypeReferences.ts | 1 + .../jsDeclarationsTypeReferences3.ts | 1 + 14 files changed, 21 insertions(+), 30 deletions(-) diff --git a/src/testRunner/unittests/tsbuild/moduleResolution.ts b/src/testRunner/unittests/tsbuild/moduleResolution.ts index 0d5d1f5310121..3fb96b6715bb0 100644 --- a/src/testRunner/unittests/tsbuild/moduleResolution.ts +++ b/src/testRunner/unittests/tsbuild/moduleResolution.ts @@ -78,13 +78,13 @@ describe("unittests:: tsbuild:: moduleResolution:: handles the modules and optio TestServerHost.createWatchedSystem({ "/home/src/workspaces/project/packages/pkg1_index.ts": `export const theNum: TheNum = "type1";`, "/home/src/workspaces/project/packages/pkg1.tsconfig.json": jsonToReadableText({ - compilerOptions: { composite: true, typeRoots: ["./typeroot1"] }, + compilerOptions: { composite: true, typeRoots: ["./typeroot1"], types: ["sometype"] }, files: ["./pkg1_index.ts"], }), "/home/src/workspaces/project/packages/typeroot1/sometype/index.d.ts": dedent`declare type TheNum = "type1";`, "/home/src/workspaces/project/packages/pkg2_index.ts": `export const theNum: TheNum2 = "type2";`, "/home/src/workspaces/project/packages/pkg2.tsconfig.json": jsonToReadableText({ - compilerOptions: { composite: true, typeRoots: ["./typeroot2"] }, + compilerOptions: { composite: true, typeRoots: ["./typeroot2"], types: ["sometype"] }, files: ["./pkg2_index.ts"], }), "/home/src/workspaces/project/packages/typeroot2/sometype/index.d.ts": dedent`declare type TheNum2 = "type2";`, diff --git a/src/testRunner/unittests/tsc/incremental.ts b/src/testRunner/unittests/tsc/incremental.ts index fcbd91ab1d296..fff1b9b18f5b6 100644 --- a/src/testRunner/unittests/tsc/incremental.ts +++ b/src/testRunner/unittests/tsc/incremental.ts @@ -188,7 +188,7 @@ declare global { "/home/src/workspaces/project/node_modules/react/jsx-runtime.js": "export {}", // js needs to be present so there's a resolution result "/home/src/workspaces/project/node_modules/@types/react/index.d.ts": getJsxLibraryContent(), // doesn't contain a jsx-runtime definition "/home/src/workspaces/project/src/index.tsx": `export const App = () =>
;`, - "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { module: "commonjs", jsx: "react-jsx", incremental: true, jsxImportSource: "react" } }), + "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { module: "commonjs", jsx: "react-jsx", incremental: true, jsxImportSource: "react", types: ["react"] } }), }), commandLineArgs: ts.emptyArray, }); @@ -201,7 +201,7 @@ declare global { "/home/src/workspaces/project/node_modules/react/jsx-runtime.js": "export {}", // js needs to be present so there's a resolution result "/home/src/workspaces/project/node_modules/@types/react/index.d.ts": getJsxLibraryContent(), // doesn't contain a jsx-runtime definition "/home/src/workspaces/project/src/index.tsx": `export const App = () =>
;`, - "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { module: "commonjs", jsx: "react-jsx", incremental: true, jsxImportSource: "react" } }), + "/home/src/workspaces/project/tsconfig.json": jsonToReadableText({ compilerOptions: { module: "commonjs", jsx: "react-jsx", incremental: true, jsxImportSource: "react", types: ["react"] } }), }), commandLineArgs: ["--strict"], }); diff --git a/src/testRunner/unittests/tscWatch/resolutionCache.ts b/src/testRunner/unittests/tscWatch/resolutionCache.ts index fcf41017d3752..b3e8c36d8b3eb 100644 --- a/src/testRunner/unittests/tscWatch/resolutionCache.ts +++ b/src/testRunner/unittests/tscWatch/resolutionCache.ts @@ -241,6 +241,9 @@ describe("unittests:: tscWatch:: resolutionCache:: tsc-watch module resolution c TestServerHost.createWatchedSystem([{ path: "/users/username/projects/project/foo.ts", content: `import * as fs from "fs";`, + }, { + path: "/users/username/projects/project/tsconfig.json", + content: jsonToReadableText({ compilerOptions: { types: ["node"] } }), }], { currentDirectory: "/users/username/projects/project" }), edits: [ { @@ -565,7 +568,7 @@ declare namespace NodeJS { }; const tsconfig: File = { path: `/user/username/projects/myproject/tsconfig.json`, - content: "{}", + content: jsonToReadableText({ compilerOptions: { types: ["node"] } }), }; const { nodeAtTypesIndex, nodeAtTypesBase, nodeAtTypes36Base, nodeAtTypesGlobals } = getNodeAtTypes(); return TestServerHost.createWatchedSystem( diff --git a/src/testRunner/unittests/tsserver/configuredProjects.ts b/src/testRunner/unittests/tsserver/configuredProjects.ts index f8014a45f727d..926ae1d7ac95c 100644 --- a/src/testRunner/unittests/tsserver/configuredProjects.ts +++ b/src/testRunner/unittests/tsserver/configuredProjects.ts @@ -1177,7 +1177,7 @@ describe("unittests:: tsserver:: configuredProjects:: non-existing directories l const config = { path: "/user/username/projects/project/a/tsconfig.json", content: jsonToReadableText({ - compiler: {}, + compilerOptions: { types: ["typings"] }, files: [], }), }; diff --git a/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts b/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts index c5c8a88abdee3..07e300cb82ede 100644 --- a/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts +++ b/src/testRunner/unittests/tsserver/getMoveToRefactoringFileSuggestions.ts @@ -36,7 +36,7 @@ import { value1 } from "../node_modules/.cache/someFile.d.ts";`, }; const tsconfig: File = { path: "/home/src/projects/project/tsconfig.json", - content: "{}", + content: jsonToReadableText({ compilerOptions: { types: ["node"] } }), }; const host = TestServerHost.createServerHost([file1, file2, file3, file3, file4, nodeModulesFile1, nodeModulesFile2, tsconfig]); const session = new TestSession(host); diff --git a/src/testRunner/unittests/tsserver/resolutionCache.ts b/src/testRunner/unittests/tsserver/resolutionCache.ts index 2f0a8f9e42432..bb09c13027cde 100644 --- a/src/testRunner/unittests/tsserver/resolutionCache.ts +++ b/src/testRunner/unittests/tsserver/resolutionCache.ts @@ -59,7 +59,7 @@ describe("unittests:: tsserver:: resolutionCache:: tsserverProjectSystem watchin const tsconfig = { path: "/users/username/projects/project/tsconfig.json", content: jsonToReadableText({ - compilerOptions: {}, + compilerOptions: { types: ["lib1", "lib2"] }, exclude: ["node_modules"], }), }; diff --git a/tests/baselines/reference/typeReferenceDirectives13.js b/tests/baselines/reference/typeReferenceDirectives13.js index 89f2bfc9d95d7..c313b9a328cb8 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.js +++ b/tests/baselines/reference/typeReferenceDirectives13.js @@ -23,24 +23,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); export interface A { x: () => typeof $; } - - -//// [DtsFileErrors] - - -/app.d.ts(2,21): error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. - - -==== /app.d.ts (1 errors) ==== - export interface A { - x: () => typeof $; - ~ -!!! error TS2581: Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. - } - -==== /ref.d.ts (0 errors) ==== - export interface $ { x } - -==== /types/lib/index.d.ts (0 errors) ==== - declare let $: { x: number } - \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives13.trace.json b/tests/baselines/reference/typeReferenceDirectives13.trace.json index 9dca874c775da..e012935dca85a 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives13.trace.json @@ -13,5 +13,8 @@ "File '/ref.ts' does not exist.", "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", - "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========" + "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", + "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", + "Resolution for type reference directive 'lib' was found in cache from location '/'.", + "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========" ] \ No newline at end of file diff --git a/tests/cases/compiler/typeReferenceDirectives13.ts b/tests/cases/compiler/typeReferenceDirectives13.ts index c8a0d40df5cfc..b37dd50e143aa 100644 --- a/tests/cases/compiler/typeReferenceDirectives13.ts +++ b/tests/cases/compiler/typeReferenceDirectives13.ts @@ -4,6 +4,7 @@ // @typeRoots: /types // @traceResolution: true // @currentDirectory: / +// @types: lib // @filename: /ref.d.ts export interface $ { x } diff --git a/tests/cases/compiler/typeReferenceDirectives5.ts b/tests/cases/compiler/typeReferenceDirectives5.ts index dad75ff02f17c..0051a29552f13 100644 --- a/tests/cases/compiler/typeReferenceDirectives5.ts +++ b/tests/cases/compiler/typeReferenceDirectives5.ts @@ -4,6 +4,7 @@ // @declaration: true // @typeRoots: /types // @currentDirectory: / +// @types: lib // @filename: /ref.d.ts export interface $ { x } diff --git a/tests/cases/compiler/typeReferenceDirectives6.ts b/tests/cases/compiler/typeReferenceDirectives6.ts index eb759e2923263..6b0820c44f1f9 100644 --- a/tests/cases/compiler/typeReferenceDirectives6.ts +++ b/tests/cases/compiler/typeReferenceDirectives6.ts @@ -4,6 +4,7 @@ // @declaration: true // @typeRoots: /types // @currentDirectory: / +// @types: lib // $ comes from type declaration file - type reference directive should be added diff --git a/tests/cases/compiler/typeReferenceDirectives9.ts b/tests/cases/compiler/typeReferenceDirectives9.ts index e497e0af2ee68..c71b66a08be90 100644 --- a/tests/cases/compiler/typeReferenceDirectives9.ts +++ b/tests/cases/compiler/typeReferenceDirectives9.ts @@ -4,6 +4,7 @@ // @typeRoots: /types // @traceResolution: true // @currentDirectory: / +// @types: lib // @filename: /types/lib/index.d.ts diff --git a/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences.ts b/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences.ts index 5d96e640242e4..c73ec827f327d 100644 --- a/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences.ts +++ b/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences.ts @@ -3,6 +3,7 @@ // @target: es5 // @outDir: tests/cases/conformance/jsdoc/declarations/out // @declaration: true +// @types: node // @filename: node_modules/@types/node/index.d.ts declare module "fs" { export class Something {} diff --git a/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences3.ts b/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences3.ts index a78ca90d3b728..826d554cc6d08 100644 --- a/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences3.ts +++ b/tests/cases/conformance/jsdoc/declarations/jsDeclarationsTypeReferences3.ts @@ -3,6 +3,7 @@ // @target: es5 // @outDir: tests/cases/conformance/jsdoc/declarations/out // @declaration: true +// @types: node // @filename: node_modules/@types/node/index.d.ts declare module "fs" { export class Something {}