2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/exportedVariable1.ts ===
|
|
|
|
export var foo = {name: "Bill"};
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : { name: string; }, Symbol(foo, Decl(exportedVariable1.ts, 0, 10))
|
2014-08-15 23:33:16 +02:00
|
|
|
>{name: "Bill"} : { name: string; }
|
2015-04-13 23:01:57 +02:00
|
|
|
>name : string, Symbol(name, Decl(exportedVariable1.ts, 0, 18))
|
2015-04-13 21:36:11 +02:00
|
|
|
>"Bill" : string
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var upper = foo.name.toUpperCase();
|
2015-04-13 23:01:57 +02:00
|
|
|
>upper : string, Symbol(upper, Decl(exportedVariable1.ts, 1, 3))
|
2014-08-15 23:33:16 +02:00
|
|
|
>foo.name.toUpperCase() : string
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo.name.toUpperCase : () => string, Symbol(String.toUpperCase, Decl(lib.d.ts, 405, 32))
|
|
|
|
>foo.name : string, Symbol(name, Decl(exportedVariable1.ts, 0, 18))
|
|
|
|
>foo : { name: string; }, Symbol(foo, Decl(exportedVariable1.ts, 0, 10))
|
|
|
|
>name : string, Symbol(name, Decl(exportedVariable1.ts, 0, 18))
|
|
|
|
>toUpperCase : () => string, Symbol(String.toUpperCase, Decl(lib.d.ts, 405, 32))
|
2014-08-15 23:33:16 +02:00
|
|
|
|