25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
error TS1204: Cannot compile modules into 'commonjs', 'amd', 'system' or 'umd' when targeting 'ES6' or higher.
|
|
|
|
|
|
!!! error TS1204: Cannot compile modules into 'commonjs', 'amd', 'system' or 'umd' 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;
|
|
|