Files
tsgo/testdata/baselines/reference/submodule/compiler/esmModeDeclarationFileWithExportAssignment.symbols
2025-02-26 14:53:49 -08:00

17 lines
434 B
Plaintext

//// [tests/cases/compiler/esmModeDeclarationFileWithExportAssignment.ts] ////
=== other.d.mts ===
declare function example(): 5;
>example : Symbol(example, Decl(other.d.mts, 0, 0))
export = example;
>example : Symbol(example, Decl(other.d.mts, 0, 0))
=== main.mts ===
import example from "./other.mjs";
>example : Symbol(example, Decl(main.mts, 0, 6))
example();
>example : Symbol(example, Decl(main.mts, 0, 6))