TypeScript/tests/baselines/reference/thisExpressionInIndexExpression.types

12 lines
401 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/thisExpressionInIndexExpression.ts ===
function f() {
2015-04-13 23:01:57 +02:00
>f : () => (r: any) => any, Symbol(f, Decl(thisExpressionInIndexExpression.ts, 0, 0))
2014-08-15 23:33:16 +02:00
return r => r[this];
>r => r[this] : (r: any) => any
2015-04-13 23:01:57 +02:00
>r : any, Symbol(r, Decl(thisExpressionInIndexExpression.ts, 1, 10))
2014-08-15 23:33:16 +02:00
>r[this] : any
2015-04-13 23:01:57 +02:00
>r : any, Symbol(r, Decl(thisExpressionInIndexExpression.ts, 1, 10))
2014-08-15 23:33:16 +02:00
>this : any
}