2015-03-16 02:24:12 +01:00
|
|
|
=== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.ts ===
|
|
|
|
|
|
|
|
var a = 10;
|
|
|
|
>a : number
|
|
|
|
|
2015-03-23 19:06:44 +01:00
|
|
|
export default a;
|
2015-03-16 02:24:12 +01:00
|
|
|
>a : number
|
|
|
|
|
|
|
|
=== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts ===
|
|
|
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0";
|
|
|
|
>defaultBinding : number
|
|
|
|
>nameSpaceBinding : typeof nameSpaceBinding
|
|
|
|
|
|
|
|
var x: number = defaultBinding;
|
|
|
|
>x : number
|
|
|
|
>defaultBinding : number
|
|
|
|
|