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
Likely to be the same sort of thing as #13409, which is blocked by the upstream acorn-typescript, which no longer seems to be maintained, and which we'll probably have to fork and take over maintenance of at some point.
Describe the bug
This code in the typescript block of a svelte component fails:
with error
Assigning to rvalue svelte(js_parse_error)
Workarounds:
(params: { increment?: number } = {})
({ increment } = {})
Reproduction
https://stackblitz.com/edit/vitejs-vite-dcqkxf?file=src%2Flib%2FCounter.svelte%3AL7
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: