TypeScript/tests/baselines/reference/exportedVariable1.types
2014-08-15 14:37:48 -07:00

16 lines
385 B
Plaintext

=== tests/cases/compiler/exportedVariable1.ts ===
export var foo = {name: "Bill"};
>foo : { name: string; }
>{name: "Bill"} : { name: string; }
>name : string
var upper = foo.name.toUpperCase();
>upper : string
>foo.name.toUpperCase() : string
>foo.name.toUpperCase : () => string
>foo.name : string
>foo : { name: string; }
>name : string
>toUpperCase : () => string