11 lines
371 B
Plaintext
11 lines
371 B
Plaintext
|
==== tests/cases/compiler/importDeclWithExportModifierAndExportAssignmentInAmbientContext.ts (1 errors) ====
|
||
|
declare module "m" {
|
||
|
module x {
|
||
|
interface c {
|
||
|
}
|
||
|
}
|
||
|
export import a = x.c;
|
||
|
export = x;
|
||
|
~~~~~~~~~~~
|
||
|
!!! An export assignment cannot be used in a module with other exported elements.
|
||
|
}
|