2015-02-10 23:36:54 +01:00
|
|
|
=== tests/cases/compiler/es6ImportNameSpaceImportAmd_0.ts ===
|
|
|
|
|
|
|
|
export var a = 10;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : number, Symbol(a, Decl(es6ImportNameSpaceImportAmd_0.ts, 1, 10))
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2015-02-10 23:36:54 +01:00
|
|
|
|
|
|
|
=== tests/cases/compiler/es6ImportNameSpaceImportAmd_1.ts ===
|
|
|
|
import * as nameSpaceBinding from "es6ImportNameSpaceImportAmd_0";
|
2015-04-13 23:01:57 +02:00
|
|
|
>nameSpaceBinding : typeof nameSpaceBinding, Symbol(nameSpaceBinding, Decl(es6ImportNameSpaceImportAmd_1.ts, 0, 6))
|
2015-02-10 23:36:54 +01:00
|
|
|
|
|
|
|
var x = nameSpaceBinding.a;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(es6ImportNameSpaceImportAmd_1.ts, 1, 3))
|
|
|
|
>nameSpaceBinding.a : number, Symbol(nameSpaceBinding.a, Decl(es6ImportNameSpaceImportAmd_0.ts, 1, 10))
|
|
|
|
>nameSpaceBinding : typeof nameSpaceBinding, Symbol(nameSpaceBinding, Decl(es6ImportNameSpaceImportAmd_1.ts, 0, 6))
|
|
|
|
>a : number, Symbol(nameSpaceBinding.a, Decl(es6ImportNameSpaceImportAmd_0.ts, 1, 10))
|
2015-02-10 23:36:54 +01:00
|
|
|
|
|
|
|
import * as nameSpaceBinding2 from "es6ImportNameSpaceImportAmd_0"; // elide this
|
2015-04-13 23:01:57 +02:00
|
|
|
>nameSpaceBinding2 : typeof nameSpaceBinding, Symbol(nameSpaceBinding2, Decl(es6ImportNameSpaceImportAmd_1.ts, 2, 6))
|
2015-02-10 23:36:54 +01:00
|
|
|
|