19 lines
565 B
Text
19 lines
565 B
Text
=== tests/cases/compiler/es6ImportNameSpaceImportInEs5_0.ts ===
|
|
|
|
export var a = 10;
|
|
>a : number
|
|
>10 : number
|
|
|
|
=== tests/cases/compiler/es6ImportNameSpaceImportInEs5_1.ts ===
|
|
import * as nameSpaceBinding from "es6ImportNameSpaceImportInEs5_0";
|
|
>nameSpaceBinding : typeof nameSpaceBinding
|
|
|
|
var x = nameSpaceBinding.a;
|
|
>x : number
|
|
>nameSpaceBinding.a : number
|
|
>nameSpaceBinding : typeof nameSpaceBinding
|
|
>a : number
|
|
|
|
import * as nameSpaceBinding2 from "es6ImportNameSpaceImportInEs5_0"; // elide this
|
|
>nameSpaceBinding2 : typeof nameSpaceBinding
|
|
|