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
start is only <= to e.character for the first character of the tokens.
start + token.content.length is only >=e.character + e.length for the last character of the tokens.
It seems like what we'd need to do is apply the error to any token that falls within the range of the error. I'm not super familiar with the codebase though, so I'm not sure what the implications of making that change would be (if any).
Happy to tackle this myself if anyone could give me a little direction here.
I'm trying to render an error for this block of code:
I'm using this
twoslash
block:That block results in this output:
The error output is correct. There are two errors: one on
K
and another onT[Key]
. However, as you can see there's no error squiggly forT[Key]
.Here's what it should look like (screenshot from ts playground):
The text was updated successfully, but these errors were encountered: