7 lines
312 B
Plaintext
7 lines
312 B
Plaintext
|
==== tests/cases/compiler/exportAssignmentWithDeclareAndExportModifiers.ts (2 errors) ====
|
||
|
var x;
|
||
|
export declare export = x;
|
||
|
~~~~~~~~~~~~~~
|
||
|
!!! An export assignment cannot have modifiers.
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
!!! Cannot compile external modules unless the '--module' flag is provided.
|