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

10 lines
504 B
Plaintext
Raw Normal View History

tests/cases/compiler/thisExpressionInCallExpressionWithTypeArguments.ts(2,20): error TS2346: Supplied parameters do not match any signature of call target.
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; })}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2346: Supplied parameters do not match any signature of call target.
2014-07-13 01:04:16 +02:00
}