We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 278873c commit 5993938Copy full SHA for 5993938
packages/svelte/src/reactivity/set.js
@@ -26,8 +26,9 @@ export class SvelteSet extends Set {
26
super();
27
28
// If the value is invalid then the native exception will fire here
29
- // @ts-ignore
30
- if (DEV) value = new Set(Array.from(value));
+ if (DEV) {
+ value = new Set(value);
31
+ }
32
33
if (value) {
34
for (let element of value) {
0 commit comments