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