TypeScript/tests/baselines/reference/multipleExports.errors.txt
2015-04-26 18:31:47 -07:00

21 lines
678 B
Plaintext

tests/cases/compiler/multipleExports.ts(10,5): error TS1194: Export declarations are not permitted in a namespace.
tests/cases/compiler/multipleExports.ts(10,13): error TS2484: Export declaration conflicts with exported declaration of 'x'
==== tests/cases/compiler/multipleExports.ts (2 errors) ====
export module M {
export var v = 0;
export let x;
}
const x = 0;
export module M {
v;
export {x};
~~~~~~~~~~~
!!! error TS1194: Export declarations are not permitted in a namespace.
~
!!! error TS2484: Export declaration conflicts with exported declaration of 'x'
}