Skip to content

Commit a9dfc85

Browse files
authored
(fix) jsx spellcheck typing
Is an enumerable attribute, meaning the strings "true"/"false" are valid values
1 parent 34debbb commit a9dfc85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte2tsx/svelte-jsx.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ declare namespace svelte.JSX {
358358
sizes?: string;
359359
slot?: string;
360360
span?: number;
361-
spellcheck?: boolean;
361+
spellcheck?: boolean | 'true' | 'false';
362362
src?: string;
363363
srcdoc?: string;
364364
srclang?: string;

0 commit comments

Comments
 (0)