59 lines
No EOL
2.8 KiB
Text
59 lines
No EOL
2.8 KiB
Text
tests/cases/compiler/es5ModuleInternalNamedImports.ts(23,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
tests/cases/compiler/es5ModuleInternalNamedImports.ts(24,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
tests/cases/compiler/es5ModuleInternalNamedImports.ts(25,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
tests/cases/compiler/es5ModuleInternalNamedImports.ts(26,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
tests/cases/compiler/es5ModuleInternalNamedImports.ts(27,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
tests/cases/compiler/es5ModuleInternalNamedImports.ts(28,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
tests/cases/compiler/es5ModuleInternalNamedImports.ts(29,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
tests/cases/compiler/es5ModuleInternalNamedImports.ts(30,5): error TS1194: Export declarations are not permitted in an internal module.
|
|
|
|
|
|
==== tests/cases/compiler/es5ModuleInternalNamedImports.ts (8 errors) ====
|
|
|
|
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;
|
|
|
|
// Reexports
|
|
export {M_V as v};
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
export {M_I as i};
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
export {M_C as c};
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
export {M_M as m};
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
export {M_MU as mu};
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
export {M_F as f};
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
export {M_E as e};
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
export {M_A as a};
|
|
~~~~~~~~~~~~~~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in an internal module.
|
|
}
|
|
|