mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
204 lines
5.9 KiB
Plaintext
204 lines
5.9 KiB
Plaintext
//// [tests/cases/conformance/node/nodeModulesDeclarationEmitWithPackageExportsNoOutDir.ts] ////
|
|
|
|
=== index.ts ===
|
|
// esm format file
|
|
import * as cjs from "package/cjs";
|
|
>cjs : Symbol(cjs, Decl(index.ts, 1, 6))
|
|
|
|
import * as mjs from "package/mjs";
|
|
>mjs : Symbol(mjs, Decl(index.ts, 2, 6))
|
|
|
|
import * as type from "package";
|
|
>type : Symbol(type, Decl(index.ts, 3, 6))
|
|
|
|
export const a = cjs;
|
|
>a : Symbol(a, Decl(index.ts, 4, 12))
|
|
>cjs : Symbol(cjs, Decl(index.ts, 1, 6))
|
|
|
|
export const b = mjs;
|
|
>b : Symbol(b, Decl(index.ts, 5, 12))
|
|
>mjs : Symbol(mjs, Decl(index.ts, 2, 6))
|
|
|
|
export const c = type;
|
|
>c : Symbol(c, Decl(index.ts, 6, 12))
|
|
>type : Symbol(type, Decl(index.ts, 3, 6))
|
|
|
|
import * as cjsi from "inner/cjs";
|
|
>cjsi : Symbol(cjsi, Decl(index.ts, 7, 6))
|
|
|
|
import * as mjsi from "inner/mjs";
|
|
>mjsi : Symbol(mjsi, Decl(index.ts, 8, 6))
|
|
|
|
import * as typei from "inner";
|
|
>typei : Symbol(typei, Decl(index.ts, 9, 6))
|
|
|
|
export const d = cjsi;
|
|
>d : Symbol(d, Decl(index.ts, 10, 12))
|
|
>cjsi : Symbol(cjsi, Decl(index.ts, 7, 6))
|
|
|
|
export const e = mjsi;
|
|
>e : Symbol(e, Decl(index.ts, 11, 12))
|
|
>mjsi : Symbol(mjsi, Decl(index.ts, 8, 6))
|
|
|
|
export const f = typei;
|
|
>f : Symbol(f, Decl(index.ts, 12, 12))
|
|
>typei : Symbol(typei, Decl(index.ts, 9, 6))
|
|
|
|
=== index.mts ===
|
|
// esm format file
|
|
import * as cjs from "package/cjs";
|
|
>cjs : Symbol(cjs, Decl(index.mts, 1, 6))
|
|
|
|
import * as mjs from "package/mjs";
|
|
>mjs : Symbol(mjs, Decl(index.mts, 2, 6))
|
|
|
|
import * as type from "package";
|
|
>type : Symbol(type, Decl(index.mts, 3, 6))
|
|
|
|
export const a = cjs;
|
|
>a : Symbol(a, Decl(index.mts, 4, 12))
|
|
>cjs : Symbol(cjs, Decl(index.mts, 1, 6))
|
|
|
|
export const b = mjs;
|
|
>b : Symbol(b, Decl(index.mts, 5, 12))
|
|
>mjs : Symbol(mjs, Decl(index.mts, 2, 6))
|
|
|
|
export const c = type;
|
|
>c : Symbol(c, Decl(index.mts, 6, 12))
|
|
>type : Symbol(type, Decl(index.mts, 3, 6))
|
|
|
|
import * as cjsi from "inner/cjs";
|
|
>cjsi : Symbol(cjsi, Decl(index.mts, 7, 6))
|
|
|
|
import * as mjsi from "inner/mjs";
|
|
>mjsi : Symbol(mjsi, Decl(index.mts, 8, 6))
|
|
|
|
import * as typei from "inner";
|
|
>typei : Symbol(typei, Decl(index.mts, 9, 6))
|
|
|
|
export const d = cjsi;
|
|
>d : Symbol(d, Decl(index.mts, 10, 12))
|
|
>cjsi : Symbol(cjsi, Decl(index.mts, 7, 6))
|
|
|
|
export const e = mjsi;
|
|
>e : Symbol(e, Decl(index.mts, 11, 12))
|
|
>mjsi : Symbol(mjsi, Decl(index.mts, 8, 6))
|
|
|
|
export const f = typei;
|
|
>f : Symbol(f, Decl(index.mts, 12, 12))
|
|
>typei : Symbol(typei, Decl(index.mts, 9, 6))
|
|
|
|
=== index.cts ===
|
|
// cjs format file
|
|
import * as cjs from "package/cjs";
|
|
>cjs : Symbol(cjs, Decl(index.cts, 1, 6))
|
|
|
|
import * as mjs from "package/mjs";
|
|
>mjs : Symbol(mjs, Decl(index.cts, 2, 6))
|
|
|
|
import * as type from "package";
|
|
>type : Symbol(type, Decl(index.cts, 3, 6))
|
|
|
|
export const a = cjs;
|
|
>a : Symbol(a, Decl(index.cts, 4, 12))
|
|
>cjs : Symbol(cjs, Decl(index.cts, 1, 6))
|
|
|
|
export const b = mjs;
|
|
>b : Symbol(b, Decl(index.cts, 5, 12))
|
|
>mjs : Symbol(mjs, Decl(index.cts, 2, 6))
|
|
|
|
export const c = type;
|
|
>c : Symbol(c, Decl(index.cts, 6, 12))
|
|
>type : Symbol(type, Decl(index.cts, 3, 6))
|
|
|
|
import * as cjsi from "inner/cjs";
|
|
>cjsi : Symbol(cjsi, Decl(index.cts, 7, 6))
|
|
|
|
import * as mjsi from "inner/mjs";
|
|
>mjsi : Symbol(mjsi, Decl(index.cts, 8, 6))
|
|
|
|
import * as typei from "inner";
|
|
>typei : Symbol(typei, Decl(index.cts, 9, 6))
|
|
|
|
export const d = cjsi;
|
|
>d : Symbol(d, Decl(index.cts, 10, 12))
|
|
>cjsi : Symbol(cjsi, Decl(index.cts, 7, 6))
|
|
|
|
export const e = mjsi;
|
|
>e : Symbol(e, Decl(index.cts, 11, 12))
|
|
>mjsi : Symbol(mjsi, Decl(index.cts, 8, 6))
|
|
|
|
export const f = typei;
|
|
>f : Symbol(f, Decl(index.cts, 12, 12))
|
|
>typei : Symbol(typei, Decl(index.cts, 9, 6))
|
|
|
|
=== node_modules/inner/index.d.ts ===
|
|
// cjs format file
|
|
import * as cjs from "inner/cjs";
|
|
>cjs : Symbol(cjs, Decl(index.d.ts, 1, 6))
|
|
|
|
import * as mjs from "inner/mjs";
|
|
>mjs : Symbol(mjs, Decl(index.d.ts, 2, 6))
|
|
|
|
import * as type from "inner";
|
|
>type : Symbol(type, Decl(index.d.ts, 3, 6))
|
|
|
|
export const t: {cjs: typeof cjs, mjs: typeof mjs, type: typeof type};
|
|
>t : Symbol(t, Decl(index.d.ts, 4, 12))
|
|
>cjs : Symbol(cjs, Decl(index.d.ts, 4, 17))
|
|
>cjs : Symbol(cjs, Decl(index.d.ts, 1, 6))
|
|
>mjs : Symbol(mjs, Decl(index.d.ts, 4, 33))
|
|
>mjs : Symbol(mjs, Decl(index.d.ts, 2, 6))
|
|
>type : Symbol(type, Decl(index.d.ts, 4, 50))
|
|
>type : Symbol(type, Decl(index.d.ts, 3, 6))
|
|
|
|
export const cjsMain = true;
|
|
>cjsMain : Symbol(cjsMain, Decl(index.d.ts, 5, 12))
|
|
|
|
=== node_modules/inner/index.d.mts ===
|
|
// esm format file
|
|
import * as cjs from "inner/cjs";
|
|
>cjs : Symbol(cjs, Decl(index.d.mts, 1, 6))
|
|
|
|
import * as mjs from "inner/mjs";
|
|
>mjs : Symbol(mjs, Decl(index.d.mts, 2, 6))
|
|
|
|
import * as type from "inner";
|
|
>type : Symbol(type, Decl(index.d.mts, 3, 6))
|
|
|
|
export const t: {cjs: typeof cjs, mjs: typeof mjs, type: typeof type};
|
|
>t : Symbol(t, Decl(index.d.mts, 4, 12))
|
|
>cjs : Symbol(cjs, Decl(index.d.mts, 4, 17))
|
|
>cjs : Symbol(cjs, Decl(index.d.mts, 1, 6))
|
|
>mjs : Symbol(mjs, Decl(index.d.mts, 4, 33))
|
|
>mjs : Symbol(mjs, Decl(index.d.mts, 2, 6))
|
|
>type : Symbol(type, Decl(index.d.mts, 4, 50))
|
|
>type : Symbol(type, Decl(index.d.mts, 3, 6))
|
|
|
|
export const esm = true;
|
|
>esm : Symbol(esm, Decl(index.d.mts, 5, 12))
|
|
|
|
=== node_modules/inner/index.d.cts ===
|
|
// cjs format file
|
|
import * as cjs from "inner/cjs";
|
|
>cjs : Symbol(cjs, Decl(index.d.cts, 1, 6))
|
|
|
|
import * as mjs from "inner/mjs";
|
|
>mjs : Symbol(mjs, Decl(index.d.cts, 2, 6))
|
|
|
|
import * as type from "inner";
|
|
>type : Symbol(type, Decl(index.d.cts, 3, 6))
|
|
|
|
export const t: {cjs: typeof cjs, mjs: typeof mjs, type: typeof type};
|
|
>t : Symbol(t, Decl(index.d.cts, 4, 12))
|
|
>cjs : Symbol(cjs, Decl(index.d.cts, 4, 17))
|
|
>cjs : Symbol(cjs, Decl(index.d.cts, 1, 6))
|
|
>mjs : Symbol(mjs, Decl(index.d.cts, 4, 33))
|
|
>mjs : Symbol(mjs, Decl(index.d.cts, 2, 6))
|
|
>type : Symbol(type, Decl(index.d.cts, 4, 50))
|
|
>type : Symbol(type, Decl(index.d.cts, 3, 6))
|
|
|
|
export const cjsNonmain = true;
|
|
>cjsNonmain : Symbol(cjsNonmain, Decl(index.d.cts, 5, 12))
|
|
|