Skip to content

Commit ab27900

Browse files
authored
(fix) relave value typing
#849 `bind:x` can set `x` to`null`
1 parent 7ddfb6b commit ab27900

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
@@ -369,7 +369,7 @@ declare namespace svelte.JSX {
369369
title?: string;
370370
type?: string;
371371
usemap?: string;
372-
value?: string | string[] | number;
372+
value?: string | string[] | number | null;
373373
/**
374374
* a value between 0 and 1
375375
*/

0 commit comments

Comments
 (0)