16 lines
403 B
Text
16 lines
403 B
Text
=== tests/cases/compiler/exportedVariable1.ts ===
|
|
export var foo = {name: "Bill"};
|
|
>foo : { name: string; }
|
|
>{name: "Bill"} : { name: string; }
|
|
>name : string
|
|
>"Bill" : 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
|
|
|