f90253f73e
Conflicts: src/compiler/checker.ts src/compiler/diagnosticInformationMap.generated.ts src/compiler/emitter.ts tests/baselines/reference/es6ImportDefaultBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
34 lines
700 B
TypeScript
34 lines
700 B
TypeScript
// @target: ES6
|
|
|
|
export module M {
|
|
// variable
|
|
export var M_V = 0;
|
|
// interface
|
|
export interface M_I { }
|
|
//calss
|
|
export class M_C { }
|
|
// instantiated module
|
|
export module M_M { var x; }
|
|
// uninstantiated module
|
|
export module M_MU { }
|
|
// function
|
|
export function M_F() { }
|
|
// enum
|
|
export enum M_E { }
|
|
// type
|
|
export type M_T = number;
|
|
// alias
|
|
export import M_A = M_M;
|
|
}
|
|
|
|
export module M {
|
|
// Reexports
|
|
export {M_V as v};
|
|
export {M_I as i};
|
|
export {M_C as c};
|
|
export {M_M as m};
|
|
export {M_MU as mu};
|
|
export {M_F as f};
|
|
export {M_E as e};
|
|
export {M_A as a};
|
|
}
|