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

13 lines
677 B
Plaintext

es6ExportEquals.ts(3,1): error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.
es6ExportEquals.ts(3,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
==== es6ExportEquals.ts (2 errors) ====
export function f() { }
export = f;
~~~~~~~~~~~
!!! error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.