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