mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
288 B
Plaintext
14 lines
288 B
Plaintext
//// [tests/cases/compiler/es6ExportAssignment2.ts] ////
|
|
|
|
=== a.ts ===
|
|
var a = 10;
|
|
>a : Symbol(a, Decl(a.ts, 0, 3))
|
|
|
|
export = a; // Error: export = not allowed in ES6
|
|
>a : Symbol(a, Decl(a.ts, 0, 3))
|
|
|
|
=== b.ts ===
|
|
import * as a from "./a";
|
|
>a : Symbol(a, Decl(b.ts, 0, 6))
|
|
|