TypeScript/tests/baselines/reference/thisExpressionInCallExpressionWithTypeArguments.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
343 B
Plaintext

==== tests/cases/compiler/thisExpressionInCallExpressionWithTypeArguments.ts (1 errors) ====
class C {
public foo() { [1,2,3].map<any,any>((x) => { return this; })}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2346: Supplied parameters do not match any signature of call target.
}