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
It would be, but I don't know how to fix this. TSServer reports bound array functions as const, which they are. And parsing the info it returns about type is probably not very robust. Here's an example:
That's pretty much all we can coax out of tsserver. I don't know how to decide whether we need to add parentheses or not based off this. If anyone has suggestions -- feel free to chime in.
The "Autocomplete parentheses" option doesn't work for arrow functions and this would be a nice feature to have.
The text was updated successfully, but these errors were encountered: