2015-01-28 01:43:46 +01:00
|
|
|
// @target: es6
|
2015-03-12 06:53:36 +01:00
|
|
|
// @declaration: true
|
2015-02-11 00:39:24 +01:00
|
|
|
// @declaration: true
|
2015-01-28 01:43:46 +01:00
|
|
|
|
|
|
|
// @filename: es6ImportDefaultBinding_0.ts
|
2015-02-11 00:39:24 +01:00
|
|
|
var a = 10;
|
2015-03-23 19:06:44 +01:00
|
|
|
export default a;
|
2015-01-28 01:43:46 +01:00
|
|
|
|
|
|
|
// @filename: es6ImportDefaultBinding_1.ts
|
2015-02-11 00:39:24 +01:00
|
|
|
import defaultBinding from "es6ImportDefaultBinding_0";
|
|
|
|
var x = defaultBinding;
|
|
|
|
import defaultBinding2 from "es6ImportDefaultBinding_0"; // elide this import since defaultBinding2 is not used
|