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
I have another instance of Request textDocument/hover failed with message: Cannot read property 'data' of undefined Code: -32603.
I believe it is caused by a weird (but valid) syntax I had to write for my component which receives an external regex as a prop. Because Svelte doesn't have a way to escape a single curly brace inside an expression, I used a stringified curly brace inside an expression to keep my regex format.
<FeedbackInput pattern="^[\s\S]{'{0,5}'}$" />
I can avoid the hover error by replacing my code with:
<FeedbackInput pattern="^[\s\S]{0,5}$" />
but I don't want to.
The text was updated successfully, but these errors were encountered:
I have another instance of
Request textDocument/hover failed with message: Cannot read property 'data' of undefined Code: -32603
.I believe it is caused by a weird (but valid) syntax I had to write for my component which receives an external regex as a prop. Because Svelte doesn't have a way to escape a single curly brace inside an expression, I used a stringified curly brace inside an expression to keep my regex format.
I can avoid the hover error by replacing my code with:
but I don't want to.
The text was updated successfully, but these errors were encountered: