mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
601 B
Plaintext
27 lines
601 B
Plaintext
//// [tests/cases/conformance/node/allowJs/nodeAllowJsPackageSelfName.ts] ////
|
|
|
|
=== index.js ===
|
|
// esm format file
|
|
import * as self from "package";
|
|
>self : Symbol(self, Decl(index.js, 1, 6))
|
|
|
|
self;
|
|
>self : Symbol(self, Decl(index.js, 1, 6))
|
|
|
|
=== index.mjs ===
|
|
// esm format file
|
|
import * as self from "package";
|
|
>self : Symbol(self, Decl(index.mjs, 1, 6))
|
|
|
|
self;
|
|
>self : Symbol(self, Decl(index.mjs, 1, 6))
|
|
|
|
=== index.cjs ===
|
|
// esm format file
|
|
import * as self from "package";
|
|
>self : Symbol(self, Decl(index.cjs, 1, 6))
|
|
|
|
self;
|
|
>self : Symbol(self, Decl(index.cjs, 1, 6))
|
|
|