11 lines
No EOL
366 B
Text
11 lines
No EOL
366 B
Text
==== tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts (2 errors) ====
|
|
module x {
|
|
interface c {
|
|
}
|
|
}
|
|
export import a = x.c;
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! Module 'x' has no exported member 'c'.
|
|
export = x;
|
|
~~~~~~~~~~~
|
|
!!! An export assignment cannot be used in a module with other exported elements. |