mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
677 B
Plaintext
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.
|
|
|