mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
285 B
Plaintext
11 lines
285 B
Plaintext
//// [tests/cases/conformance/node/allowJs/nodeAllowJsPackageSelfName2.ts] ////
|
|
|
|
=== /src/foo.js ===
|
|
export const foo = 1;
|
|
>foo : Symbol(foo, Decl(foo.js, 0, 12))
|
|
|
|
=== /test/foo.js ===
|
|
import { foo } from "js-self-name-import/foo.js";
|
|
>foo : Symbol(foo, Decl(foo.js, 0, 8))
|
|
|