2015-01-28 01:43:46 +01:00
|
|
|
//// [tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.ts] ////
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.ts]
|
|
|
|
|
|
|
|
export var a = 10;
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts]
|
2015-02-11 00:39:24 +01:00
|
|
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0";
|
|
|
|
var x: number = nameSpaceBinding.a;
|
2015-01-28 01:43:46 +01:00
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.js]
|
|
|
|
exports.a = 10;
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.js]
|
2015-03-25 08:06:38 +01:00
|
|
|
var es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0_1 = require("es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"), nameSpaceBinding = es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0_1;
|
2015-02-11 00:39:24 +01:00
|
|
|
var x = nameSpaceBinding.a;
|
|
|
|
|
|
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.d.ts]
|
|
|
|
export declare var a: number;
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.d.ts]
|