Conflicts: src/compiler/emitter.ts tests/baselines/reference/es6ExportAll.js tests/baselines/reference/es6ExportClauseWithoutModuleSpecifier.js tests/baselines/reference/es6ImportNamedImport.js
17 lines
No EOL
398 B
TypeScript
17 lines
No EOL
398 B
TypeScript
// @target: ES6
|
|
export const a = "hello";
|
|
export const x: string = a, y = x;
|
|
const b = y;
|
|
const c: string = b, d = c;
|
|
export module m1 {
|
|
export const k = a;
|
|
export const l: string = b, m = k;
|
|
const n = m1.k;
|
|
const o: string = n, p = k;
|
|
}
|
|
module m2 {
|
|
export const k = a;
|
|
export const l: string = b, m = k;
|
|
const n = m1.k;
|
|
const o: string = n, p = k;
|
|
} |