TypeScript/tests/baselines/reference/es6ExportEquals.errors.txt

14 lines
704 B
Plaintext
Raw Normal View History

tests/cases/compiler/es6ExportEquals.ts(4,1): error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead.
tests/cases/compiler/es6ExportEquals.ts(4,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
2015-03-13 01:14:33 +01:00
==== tests/cases/compiler/es6ExportEquals.ts (2 errors) ====
2015-03-13 01:14:33 +01:00
export function f() { }
export = f;
~~~~~~~~~~~
!!! error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead.
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
2015-03-13 01:14:33 +01:00