0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 17:00:40 +01:00
svelte/test/store
Ignatius Bagus b295d68ec6
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.
2021-05-20 15:31:51 +02:00
..
index.ts fix types: allow writable/readable empty initialization (#6293) 2021-05-20 15:31:51 +02:00