mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
305 B
Plaintext
14 lines
305 B
Plaintext
//// [tests/cases/compiler/subpathImportsJS.ts] ////
|
|
|
|
=== /src/subpath.ts ===
|
|
export const foo = "foo";
|
|
>foo : Symbol(foo, Decl(subpath.ts, 0, 12))
|
|
|
|
=== /src/index.ts ===
|
|
import { foo } from "#subpath";
|
|
>foo : Symbol(foo, Decl(index.ts, 0, 8))
|
|
|
|
foo;
|
|
>foo : Symbol(foo, Decl(index.ts, 0, 8))
|
|
|