11 lines
209 B
Text
11 lines
209 B
Text
=== tests/cases/compiler/thisExpressionInIndexExpression.ts ===
|
|
function f() {
|
|
>f : typeof f
|
|
|
|
return r => r[this];
|
|
>r => r[this] : (r: any) => any
|
|
>r : any
|
|
>r[this] : any
|
|
>r : any
|
|
>this : any
|
|
}
|