mirror of https://github.com/sveltejs/svelte
fix types: allow writable/readable empty initialization (#6293)
Fixes #6291 Fixes #6345 Both writable and readable initialized without any arguments are already valid, but TS complains about it. This makes both allowed to be emptily initialized. It's also possible to invoke readable with one argument only.pull/6347/head
parent
3301b09619
commit
b295d68ec6
Loading…
Reference in new issue