fix: narrow `defaultChecked` to boolean

pull/16009/head
Hyunbin Seo 4 months ago
parent 6e2ba643c5
commit e8f0e8b335

@ -0,0 +1,5 @@
---
'svelte': patch
---
narrow `defaultChecked` to boolean

@ -1115,8 +1115,8 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
// needs both casing variants because language tools does lowercase names of non-shorthand attributes
defaultValue?: any;
defaultvalue?: any;
defaultChecked?: any;
defaultchecked?: any;
defaultChecked?: boolean | undefined | null;
defaultchecked?: boolean | undefined | null;
width?: number | string | undefined | null;
webkitdirectory?: boolean | undefined | null;

Loading…
Cancel
Save