2015-03-12 06:55:09 +01:00
|
|
|
//// [tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport1.ts] ////
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamedImport1_0.ts]
|
|
|
|
|
|
|
|
var a = 10;
|
2015-03-23 19:06:44 +01:00
|
|
|
export default a;
|
2015-03-12 06:55:09 +01:00
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamedImport1_1.ts]
|
|
|
|
import defaultBinding1, { } from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
|
|
|
var x1: number = defaultBinding1;
|
|
|
|
import defaultBinding2, { a } from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
|
|
|
var x1: number = defaultBinding2;
|
|
|
|
import defaultBinding3, { a as b } from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
|
|
|
var x1: number = defaultBinding3;
|
|
|
|
import defaultBinding4, { x, a as y } from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
|
|
|
var x1: number = defaultBinding4;
|
|
|
|
import defaultBinding5, { x as z, } from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
|
|
|
var x1: number = defaultBinding5;
|
|
|
|
import defaultBinding6, { m, } from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
|
|
|
var x1: number = defaultBinding6;
|
|
|
|
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamedImport1_0.js]
|
|
|
|
var a = 10;
|
2015-03-13 01:14:33 +01:00
|
|
|
export default a;
|
2015-03-12 06:55:09 +01:00
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamedImport1_1.js]
|
2015-03-12 08:17:40 +01:00
|
|
|
import defaultBinding1 from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
2015-03-12 06:55:09 +01:00
|
|
|
var x1 = defaultBinding1;
|
2015-03-12 08:17:40 +01:00
|
|
|
import defaultBinding2 from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
2015-03-12 06:55:09 +01:00
|
|
|
var x1 = defaultBinding2;
|
2015-03-12 08:17:40 +01:00
|
|
|
import defaultBinding3 from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
2015-03-12 06:55:09 +01:00
|
|
|
var x1 = defaultBinding3;
|
2015-03-12 08:17:40 +01:00
|
|
|
import defaultBinding4 from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
2015-03-12 06:55:09 +01:00
|
|
|
var x1 = defaultBinding4;
|
2015-03-12 08:17:40 +01:00
|
|
|
import defaultBinding5 from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
2015-03-12 06:55:09 +01:00
|
|
|
var x1 = defaultBinding5;
|
2015-03-12 08:17:40 +01:00
|
|
|
import defaultBinding6 from "es6ImportDefaultBindingFollowedWithNamedImport1_0";
|
2015-03-12 06:55:09 +01:00
|
|
|
var x1 = defaultBinding6;
|
|
|
|
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamedImport1_0.d.ts]
|
|
|
|
declare var a: number;
|
2015-03-23 19:06:44 +01:00
|
|
|
export default a;
|
2015-03-12 06:55:09 +01:00
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamedImport1_1.d.ts]
|