TypeScript/tests/baselines/reference/importDeclWithExportModifierAndExportAssignment.errors.txt

15 lines
701 B
Plaintext
Raw Normal View History

tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts(5,1): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts(6,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
2014-07-13 01:04:16 +02:00
==== 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'.
2014-07-13 01:04:16 +02:00
export = x;
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.