mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
244 B
TypeScript
16 lines
244 B
TypeScript
//// [tests/cases/compiler/es6ExportAssignment2.ts] ////
|
|
|
|
//// [a.ts]
|
|
var a = 10;
|
|
export = a; // Error: export = not allowed in ES6
|
|
|
|
//// [b.ts]
|
|
import * as a from "./a";
|
|
|
|
|
|
//// [a.js]
|
|
var a = 10;
|
|
export {};
|
|
//// [b.js]
|
|
export {};
|