TypeScript/tests/baselines/reference/thisExpressionInCallExpressionWithTypeArguments.errors.txt

7 lines
329 B
Text
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/thisExpressionInCallExpressionWithTypeArguments.ts (1 errors) ====
class C {
public foo() { [1,2,3].map<any,any>((x) => { return this; })}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! Supplied parameters do not match any signature of call target.
}