TypeScript/tests/baselines/reference/importDeclWithExportModifierAndExportAssignment.errors.txt
2014-09-11 16:11:08 -07:00

11 lines
394 B
Plaintext

==== tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts (2 errors) ====
module x {
interface c {
}
}
export import a = x.c;
~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'x' has no exported member 'c'.
export = x;
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.