mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
596 B
Plaintext
25 lines
596 B
Plaintext
//// [tests/cases/conformance/node/allowJs/nodeModulesAllowJsImportHelpersCollisions2.ts] ////
|
|
|
|
=== subfolder/index.ts ===
|
|
// cjs format file
|
|
export * from "fs";
|
|
export * as fs from "fs";
|
|
>fs : Symbol(fs, Decl(index.ts, 2, 6))
|
|
|
|
=== index.js ===
|
|
// esm format file
|
|
export * from "fs";
|
|
export * as fs from "fs";
|
|
>fs : Symbol(fs, Decl(index.js, 2, 6))
|
|
|
|
=== types.d.ts ===
|
|
declare module "fs";
|
|
>"fs" : Symbol("fs", Decl(types.d.ts, 0, 0))
|
|
|
|
declare module "tslib" {
|
|
>"tslib" : Symbol("tslib", Decl(types.d.ts, 0, 20))
|
|
|
|
export {};
|
|
// intentionally missing all helpers
|
|
}
|