-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Description
Describe the bug
There are several attributes whose values can be enumerated.
However, if the values are string representations of booleans, then the value type becomes Booleanish.
svelte/packages/svelte/elements.d.ts
Line 730 in 320ebd2
| draggable?: Booleanish | undefined | null; |
This can lead to similar errors:
Reproduction
https://svelte.dev/playground/98dbee7e667d49028d0d7a662fd58f4e?version=5.1.16
Logs
No response
System Info
-Severity
annoyance