Skip to content

Commit e3ae3f7

Browse files
author
Sean Callahan
committed
Update additional trace baselines for extensionless path resolution
1 parent e54e4ef commit e3ae3f7

5 files changed

+4
-11
lines changed

tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.",
1717
"Module name 'index', matched pattern '*'.",
1818
"Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.",
19-
"Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.",
2019
"File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.",
2120
"File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.",
2221
"File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.",

tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.",
1717
"Module name 'index', matched pattern '*'.",
1818
"Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.",
19-
"Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.",
2019
"File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.",
2120
"File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.",
2221
"File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.",

tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.",
1717
"Module name 'index', matched pattern '*'.",
1818
"Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.",
19-
"Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.",
2019
"File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.",
2120
"File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.",
2221
"File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.",
@@ -51,7 +50,6 @@
5150
"'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.",
5251
"Module name 'index', matched pattern '*'.",
5352
"Trying substitution 'ts3.1/*', candidate module location: 'ts3.1/index'.",
54-
"Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, JavaScript, Declaration, JSON.",
5553
"File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.",
5654
"File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.",
5755
"File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.",

tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"'package.json' has a 'typesVersions' entry '>=3.1.0-0' that matches compiler version '3.1.0-dev', looking for a pattern to match module name 'index'.",
1717
"Module name 'index', matched pattern 'index'.",
1818
"Trying substitution 'ts3.1/index', candidate module location: 'ts3.1/index'.",
19-
"Loading module as file / folder, candidate module location '/.src/node_modules/ext/ts3.1/index', target file types: TypeScript, Declaration.",
2019
"File '/.src/node_modules/ext/ts3.1/index.ts' does not exist.",
2120
"File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.",
2221
"File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.",

tests/baselines/reference/typingsLookup4.trace.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
"File '/node_modules/@types/kquery.d.ts' does not exist.",
2929
"'package.json' does not have a 'typesVersions' field.",
3030
"'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.",
31-
"Loading module as file / folder, candidate module location '/node_modules/@types/kquery/kquery', target file types: TypeScript, Declaration.",
32-
"File '/node_modules/@types/kquery/kquery.ts' does not exist.",
33-
"File '/node_modules/@types/kquery/kquery.tsx' does not exist.",
3431
"File '/node_modules/@types/kquery/kquery.d.ts' exists - use it as a name resolution result.",
3532
"Resolving real path for '/node_modules/@types/kquery/kquery.d.ts', result '/node_modules/@types/kquery/kquery.d.ts'.",
3633
"======== Module name 'kquery' was successfully resolved to '/node_modules/@types/kquery/kquery.d.ts'. ========",
@@ -47,6 +44,7 @@
4744
"File '/node_modules/@types/lquery.d.ts' does not exist.",
4845
"'package.json' does not have a 'typesVersions' field.",
4946
"'package.json' has 'typings' field 'lquery' that references '/node_modules/@types/lquery/lquery'.",
47+
"File '/node_modules/@types/lquery/lquery.d.ts' does not exist.",
5048
"Loading module as file / folder, candidate module location '/node_modules/@types/lquery/lquery', target file types: TypeScript, Declaration.",
5149
"File '/node_modules/@types/lquery/lquery.ts' exists - use it as a name resolution result.",
5250
"Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.",
@@ -64,6 +62,7 @@
6462
"File '/node_modules/@types/mquery.d.ts' does not exist.",
6563
"'package.json' does not have a 'typesVersions' field.",
6664
"'package.json' has 'typings' field 'mquery' that references '/node_modules/@types/mquery/mquery'.",
65+
"File '/node_modules/@types/mquery/mquery.d.ts' does not exist.",
6766
"Loading module as file / folder, candidate module location '/node_modules/@types/mquery/mquery', target file types: TypeScript, Declaration.",
6867
"File '/node_modules/@types/mquery/mquery.ts' does not exist.",
6968
"File '/node_modules/@types/mquery/mquery.tsx' does not exist.",
@@ -88,16 +87,14 @@
8887
"Resolving with primary search path '/node_modules/@types'.",
8988
"File '/node_modules/@types/kquery/package.json' exists according to earlier cached lookups.",
9089
"'package.json' has 'typings' field 'kquery' that references '/node_modules/@types/kquery/kquery'.",
91-
"Loading module as file / folder, candidate module location '/node_modules/@types/kquery/kquery', target file types: TypeScript, Declaration.",
92-
"File '/node_modules/@types/kquery/kquery.ts' does not exist.",
93-
"File '/node_modules/@types/kquery/kquery.tsx' does not exist.",
9490
"File '/node_modules/@types/kquery/kquery.d.ts' exists - use it as a name resolution result.",
9591
"Resolving real path for '/node_modules/@types/kquery/kquery.d.ts', result '/node_modules/@types/kquery/kquery.d.ts'.",
9692
"======== Type reference directive 'kquery' was successfully resolved to '/node_modules/@types/kquery/kquery.d.ts', primary: true. ========",
9793
"======== Resolving type reference directive 'lquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========",
9894
"Resolving with primary search path '/node_modules/@types'.",
9995
"File '/node_modules/@types/lquery/package.json' exists according to earlier cached lookups.",
10096
"'package.json' has 'typings' field 'lquery' that references '/node_modules/@types/lquery/lquery'.",
97+
"File '/node_modules/@types/lquery/lquery.d.ts' does not exist.",
10198
"Loading module as file / folder, candidate module location '/node_modules/@types/lquery/lquery', target file types: TypeScript, Declaration.",
10299
"File '/node_modules/@types/lquery/lquery.ts' exists - use it as a name resolution result.",
103100
"Resolving real path for '/node_modules/@types/lquery/lquery.ts', result '/node_modules/@types/lquery/lquery.ts'.",
@@ -106,6 +103,7 @@
106103
"Resolving with primary search path '/node_modules/@types'.",
107104
"File '/node_modules/@types/mquery/package.json' exists according to earlier cached lookups.",
108105
"'package.json' has 'typings' field 'mquery' that references '/node_modules/@types/mquery/mquery'.",
106+
"File '/node_modules/@types/mquery/mquery.d.ts' does not exist.",
109107
"Loading module as file / folder, candidate module location '/node_modules/@types/mquery/mquery', target file types: TypeScript, Declaration.",
110108
"File '/node_modules/@types/mquery/mquery.ts' does not exist.",
111109
"File '/node_modules/@types/mquery/mquery.tsx' does not exist.",

0 commit comments

Comments
 (0)