Skip to content

Commit

Permalink
(fix) relave value typing
Browse files Browse the repository at this point in the history
#849 
`bind:x` can set `x` to`null`
  • Loading branch information
dummdidumm authored Mar 3, 2021
1 parent 7ddfb6b commit ab27900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte2tsx/svelte-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ declare namespace svelte.JSX {
title?: string;
type?: string;
usemap?: string;
value?: string | string[] | number;
value?: string | string[] | number | null;
/**
* a value between 0 and 1
*/
Expand Down

0 comments on commit ab27900

Please sign in to comment.