18 lines
508 B
Text
18 lines
508 B
Text
=== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_0.ts ===
|
|
|
|
var a = 10;
|
|
>a : number
|
|
>10 : number
|
|
|
|
export default a;
|
|
>a : number
|
|
|
|
=== tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts ===
|
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBinding_0";
|
|
>defaultBinding : number
|
|
>nameSpaceBinding : typeof nameSpaceBinding
|
|
|
|
var x: number = defaultBinding;
|
|
>x : number
|
|
>defaultBinding : number
|
|
|