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