mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
434 B
Plaintext
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))
|
|
|