7 lines
329 B
Text
7 lines
329 B
Text
|
==== 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.
|
||
|
}
|
||
|
|