14 lines
844 B
Plaintext
14 lines
844 B
Plaintext
error TS1204: Cannot compile external modules into amd or commonjs when targeting es6 or higher.
|
|
tests/cases/compiler/es6ImportNamedImportInExportAssignment_1.ts(2,1): error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead.
|
|
|
|
|
|
!!! error TS1204: Cannot compile external modules into amd or commonjs when targeting es6 or higher.
|
|
==== tests/cases/compiler/es6ImportNamedImportInExportAssignment_0.ts (0 errors) ====
|
|
|
|
export var a = 10;
|
|
|
|
==== tests/cases/compiler/es6ImportNamedImportInExportAssignment_1.ts (1 errors) ====
|
|
import { a } from "es6ImportNamedImportInExportAssignment_0";
|
|
export = a;
|
|
~~~~~~~~~~~
|
|
!!! error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead. |