Files
tsgo/testdata/baselines/reference/compiler/pathsEntryReferencesDtsViaTsExtensionNoCrash.symbols
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

15 lines
442 B
Plaintext

//// [tests/cases/compiler/pathsEntryReferencesDtsViaTsExtensionNoCrash.ts] ////
=== named-import.ts ===
import { blah } from "some-path";
>blah : Symbol(blah, Decl(named-import.ts, 0, 8))
export const value = blah;
>value : Symbol(value, Decl(named-import.ts, 2, 12))
>blah : Symbol(blah, Decl(named-import.ts, 0, 8))
=== some-path/index.d.ts ===
export declare const blah: 1;
>blah : Symbol(blah, Decl(index.d.ts, 0, 20))