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
The short answer is that the parameter -> tuple name feature is "best effort" (since nothing in the type system works/doesn't work depending on these names), and the effort to handle this particular case simply hasn't been done yet
Bug Report
π Search Terms
Paramaters, object, named parameters
π Version & Regression Information
4.6.2, though likely nor introduced here
β― Playground Link
https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABMOcDqcBOBrGYDmAFAB4BciYIAtgEYCmmANIgJ7mW0MCUiA3gLAAoIQF8hoSLATJUJdtXpNW8zkt6IAXohHl1GgPzkAzlEx582xAF4+IngOGCxjgPQvCABwCGmL1TpQ3Ihe5ADaZBQKDMxskaoAuuLg0PBIND4YOOaEAHR5IYgACj5+AQxGADxQLB50cMAy6Fi4BAB89s5CboieJf6BmDwFoRyKzKPRPQ7diLMGxqbmiAA+iOAAJnTAeHTrANxdLparG1s761z6iYISKdLpmLn55MW+-eVVNXUNKHDttkA
π» Code
π Actual behavior
bar function is not able to resolve x and y parameter names. This causes the bar function to be type
π Expected behavior
bar function should be able to resolve the x and y parameter names.
The text was updated successfully, but these errors were encountered: