2015-01-28 01:43:46 +01:00
|
|
|
//// [tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding.ts] ////
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_0.ts]
|
|
|
|
|
|
|
|
export var a = 10;
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts]
|
2015-03-12 06:53:36 +01:00
|
|
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBinding_0";
|
|
|
|
var x: number = nameSpaceBinding.a;
|
2015-01-28 01:43:46 +01:00
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_0.js]
|
2015-02-17 22:47:15 +01:00
|
|
|
a = 10;
|
2015-01-28 01:43:46 +01:00
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_1.js]
|
2015-03-12 08:17:40 +01:00
|
|
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBinding_0";
|
2015-03-12 06:53:36 +01:00
|
|
|
var x = nameSpaceBinding.a;
|
|
|
|
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_0.d.ts]
|
|
|
|
export declare var a: number;
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_1.d.ts]
|