svelte-check-4.0.3
dummdidumm
released this
26 Sep 12:24
·
4 commits
to master
since this release
- breaking(svelte5): only generate function component shape in runes mode (#2517). This means you can no longer just do
Component
in type positions. Instead you need to prepend it withtypeof
. Here's how you do it:- ...when typing a component instance: Before:
let x: Component
. After:let x: ReturnType<typeof Component>
- ...when typing a component constructor/function: Before
let x: typeof Component
. Afterlet x: typeof Component
(no change)
- ...when typing a component instance: Before:
- fix: revert additional two-way-binding checks as they were causing bugs (#2508)
- fix: include files indirectly belonging to a project into correct project (#2488)
- fix: check project files update more aggressively before assigning service (#2518)
- chore: upgrade to chokidar 4 (#2502)