TypeScript/tests/baselines/reference/typingsLookupAmd.trace.json
Sheetal Nandi f6d425e1e3
Module Resolution and Type Reference directive cache updates and its API changes (#43700)
* Make the module resolution cache apis for updating compiler options or clearing it

* Cache package.json lookup results from module resolution

* Use per directory cache for type reference directive resolution as well

* Update Baselines and/or Applied Lint Fixes

* Change trace according to feedback

* Update Baselines and/or Applied Lint Fixes

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-04-21 21:30:18 -07:00

48 lines
3 KiB
JSON

[
"======== Resolving module 'b' from '/x/y/foo.ts'. ========",
"Module resolution kind is not specified, using 'Classic'.",
"File '/x/y/b.ts' does not exist.",
"File '/x/y/b.tsx' does not exist.",
"File '/x/y/b.d.ts' does not exist.",
"File '/x/b.ts' does not exist.",
"File '/x/b.tsx' does not exist.",
"File '/x/b.d.ts' does not exist.",
"File '/b.ts' does not exist.",
"File '/b.tsx' does not exist.",
"File '/b.d.ts' does not exist.",
"Directory '/x/y/node_modules' does not exist, skipping all lookups in it.",
"File '/x/node_modules/@types/b/package.json' does not exist.",
"File '/x/node_modules/@types/b.d.ts' does not exist.",
"File '/x/node_modules/@types/b/index.d.ts' exist - use it as a name resolution result.",
"======== Module name 'b' was successfully resolved to '/x/node_modules/@types/b/index.d.ts'. ========",
"======== Resolving module 'a' from '/x/node_modules/@types/b/index.d.ts'. ========",
"Module resolution kind is not specified, using 'Classic'.",
"File '/x/node_modules/@types/b/a.ts' does not exist.",
"File '/x/node_modules/@types/b/a.tsx' does not exist.",
"File '/x/node_modules/@types/b/a.d.ts' does not exist.",
"File '/x/node_modules/@types/a.ts' does not exist.",
"File '/x/node_modules/@types/a.tsx' does not exist.",
"File '/x/node_modules/@types/a.d.ts' does not exist.",
"File '/x/node_modules/a.ts' does not exist.",
"File '/x/node_modules/a.tsx' does not exist.",
"File '/x/node_modules/a.d.ts' does not exist.",
"File '/x/a.ts' does not exist.",
"File '/x/a.tsx' does not exist.",
"File '/x/a.d.ts' does not exist.",
"File '/a.ts' does not exist.",
"File '/a.tsx' does not exist.",
"File '/a.d.ts' does not exist.",
"Directory '/x/node_modules/@types/b/node_modules' does not exist, skipping all lookups in it.",
"Directory '/x/node_modules/@types/node_modules' does not exist, skipping all lookups in it.",
"File '/x/node_modules/@types/a.d.ts' does not exist.",
"File '/node_modules/@types/a/package.json' does not exist.",
"File '/node_modules/@types/a.d.ts' does not exist.",
"File '/node_modules/@types/a/index.d.ts' exist - use it as a name resolution result.",
"======== Module name 'a' was successfully resolved to '/node_modules/@types/a/index.d.ts'. ========",
"======== 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' exist - 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. ========"
]