11 lines
366 B
Plaintext
11 lines
366 B
Plaintext
|
==== 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.
|