Files
tsgo/testdata/baselines/reference/submodule/compiler/es6ExportAssignment.errors.txt

8 lines
429 B
Plaintext

es6ExportAssignment.ts(2,1): error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.
==== es6ExportAssignment.ts (1 errors) ====
var a = 10;
export = a;
~~~~~~~~~~~
!!! error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.