This commit is contained in:
Asger F
2025-04-08 15:01:12 +02:00
parent cd03ef9f02
commit 8d658ea27a
5 changed files with 56 additions and 9 deletions

View File

@@ -0,0 +1 @@
export const x = 1;

View File

@@ -0,0 +1,7 @@
{
"include": ["src"],
"compilerOptions": {
// Use unusual name to test independently of naming heuristics
"outDir": "./customOutDir"
}
}

View File

@@ -22,3 +22,5 @@ import '@example/package-guess2'; // $ importTarget=PackageGuess2/blah/stuff.ts
import './PackageWithMainExt'; // $ importTarget=PackageWithMainExt/lib/main.ts
import '@example/package-with-main-ext'; // $ importTarget=PackageWithMainExt/lib/main.ts
import './TSConfigOutDir/customOutDir/foo.js'; // $ importTarget=TSConfigOutDir/src/foo.ts

View File

@@ -74,3 +74,4 @@
| import-packages.ts:21:1:21:33 | import ... uess2'; | PackageGuess2/blah/stuff.ts |
| import-packages.ts:23:1:23:30 | import ... inExt'; | PackageWithMainExt/lib/main.ts |
| import-packages.ts:24:1:24:40 | import ... n-ext'; | PackageWithMainExt/lib/main.ts |
| import-packages.ts:26:1:26:46 | import ... oo.js'; | TSConfigOutDir/src/foo.ts |