News for hackers. Stuff that matters.
Re:Svelte 4 by OJFord on Thursday June 22, 2023 @02:12PM (#36436365)
I think the claim is that it breaks TS parsing, not that it changes the type.
Re:Svelte 4 by npn on Thursday June 22, 2023 @03:19PM (#36437302)
Then it's wrong too. Because it is perfectly valid js code. It is just that they repurpose the label syntax (used for breaking out of inner loops) for the reactive statement.