Files
tsgo/testdata/tests/cases/compiler/pathsEntryReferencesDtsViaTsExtensionNoCrash.ts
9d97c2f5d0 Fix crash when paths entry references .d.ts file via .ts extension (#3439)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
Co-authored-by: andrewbranch <[email protected]>
2026-04-21 05:41:55 +00:00

22 lines
386 B
TypeScript

// @module: preserve
// @moduleResolution: bundler
// @noEmit: true
// @filename: tsconfig.json
{
"compilerOptions": {
"paths": {
"some-path": ["./some-path/index.ts"]
}
},
"files": ["./named-import.ts"]
}
// @filename: some-path/index.d.ts
export declare const blah: 1;
// @filename: named-import.ts
import { blah } from "some-path";
export const value = blah;