19 lines
283 B
Plaintext
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
|
||
|
|