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
Note that this syntax doesn't seem to be supported by Typescript and I believe (might be wrong) that babel configuration is not relevant to typescript checking itself.
So in theory the expected result might be to always mark it as invalid.
Hey,
I use a bind function proposal in my code that I added to my
.babelrc
:It basically is a notation with which you can use bound function calls without having to use
Function.prototype.bind()
. An example:will become
Here's the problem: lsp-tsserver sometimes marks the
::
as invalid (sayingexpression expected
:However, if I put
import range from 'lodash/range'
to the imports part (the beginning), the error disappears. Honestly, this makes no sense at all:Do you have any idea as to why this could happen?
The text was updated successfully, but these errors were encountered: