25 lines
No EOL
1.2 KiB
Text
25 lines
No EOL
1.2 KiB
Text
error TS1204: Cannot compile external modules into amd, system or commonjs when targeting es6 or higher.
|
|
|
|
|
|
!!! error TS1204: Cannot compile external modules into amd, system or commonjs when targeting es6 or higher.
|
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_0.ts (0 errors) ====
|
|
|
|
export var a = 10;
|
|
export var x = a;
|
|
export var m = a;
|
|
export default {};
|
|
|
|
==== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport_1.ts (0 errors) ====
|
|
import defaultBinding1, { } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
|
import defaultBinding2, { a } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
|
var x1: number = a;
|
|
import defaultBinding3, { a as b } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
|
var x1: number = b;
|
|
import defaultBinding4, { x, a as y } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
|
var x1: number = x;
|
|
var x1: number = y;
|
|
import defaultBinding5, { x as z, } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
|
var x1: number = z;
|
|
import defaultBinding6, { m, } from "es6ImportDefaultBindingFollowedWithNamedImport_0";
|
|
var x1: number = m;
|
|
|