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