13 lines
No EOL
604 B
Text
13 lines
No EOL
604 B
Text
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
|
|
|