13 lines
604 B
Plaintext
13 lines
604 B
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/es6ImportNameSpaceImport_0.ts (0 errors) ====
|
|
|
|
export var a = 10;
|
|
|
|
==== tests/cases/compiler/es6ImportNameSpaceImport_1.ts (0 errors) ====
|
|
import * as nameSpaceBinding from "es6ImportNameSpaceImport_0";
|
|
var x = nameSpaceBinding.a;
|
|
import * as nameSpaceBinding2 from "es6ImportNameSpaceImport_0"; // elide this
|
|
|