Skip to content

Commit 57b4d3a

Browse files
committed
comment
1 parent b5c33ad commit 57b4d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/internal/client/dom/template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export function props_id() {
265265
return id;
266266
}
267267

268-
// @ts-expect-error
268+
// @ts-expect-error This way we ensure the id is unique even across Svelte runtimes
269269
(window.__svelte ??= {}).uid ??= 1;
270270

271271
// @ts-expect-error

0 commit comments

Comments
 (0)