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