You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get another function's parameter types for use in another function's rest parameterΒ #58991
Activity
MartinJohns commentedon Jun 24, 2024
You forgot to fill out the issue template completely.
The code does not show any error in the playground.
STofone commentedon Jun 24, 2024
same code in idea


I tried in ts playground, it works fine.

ts playground
may be is a problem of idea
STofone commentedon Jun 24, 2024
Weird difference between each way of function definition inside object
MartinJohns commentedon Jun 24, 2024
Properties and methods have different variance when
strictFunctionTypesis enabled. And functions and lambdas have differentthiscontext.STofone commentedon Jun 25, 2024
playground
I understand the different
thiscontext, but it seems has no difference of input param types.And it works fine in playground.