TypeScript/tests/baselines/reference/thisInModuleFunction1.types
2015-04-15 16:44:20 -07:00

19 lines
283 B
Plaintext

=== tests/cases/compiler/thisInModuleFunction1.ts ===
module bar {
>bar : typeof bar
export function bar() {
>bar : () => any
return this;
>this : any
}
}
var z = bar.bar();
>z : any
>bar.bar() : any
>bar.bar : () => any
>bar : typeof bar
>bar : () => any