Conflicts: src/compiler/diagnosticInformationMap.generated.ts src/compiler/diagnosticMessages.json
9 lines
No EOL
435 B
Text
9 lines
No EOL
435 B
Text
tests/cases/compiler/es6ExportAssignment.ts(3,1): error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead.
|
|
|
|
|
|
==== tests/cases/compiler/es6ExportAssignment.ts (1 errors) ====
|
|
|
|
var a = 10;
|
|
export = a;
|
|
~~~~~~~~~~~
|
|
!!! error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead. |