2015-03-12 06:55:09 +01:00
|
|
|
// @module: commonjs
|
2015-04-17 19:29:05 +02:00
|
|
|
// @target: ES5
|
2015-03-12 06:55:09 +01:00
|
|
|
|
|
|
|
// @filename: es6ImportDefaultBindingMergeErrors_0.ts
|
|
|
|
var a = 10;
|
2015-03-23 19:06:44 +01:00
|
|
|
export default a;
|
2015-03-12 06:55:09 +01:00
|
|
|
|
|
|
|
// @filename: es6ImportDefaultBindingMergeErrors_1.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import defaultBinding from "./es6ImportDefaultBindingMergeErrors_0";
|
2015-03-12 06:55:09 +01:00
|
|
|
interface defaultBinding { // This is ok
|
|
|
|
}
|
|
|
|
var x = defaultBinding;
|
2015-09-15 20:43:28 +02:00
|
|
|
import defaultBinding2 from "./es6ImportDefaultBindingMergeErrors_0"; // Should be error
|
2015-03-12 06:55:09 +01:00
|
|
|
var defaultBinding2 = "hello world";
|
2015-09-15 20:43:28 +02:00
|
|
|
import defaultBinding3 from "./es6ImportDefaultBindingMergeErrors_0"; // Should be error
|
|
|
|
import defaultBinding3 from "./es6ImportDefaultBindingMergeErrors_0"; // SHould be error
|