You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless I'm mistaken, it seems that the files and group attributes are missing from the HTMLInputAttributes type in svelte/packages/svelte/element.d.ts.
The typings for the binding 'bind:group' and 'bind:files' are present (as seen here) but the individual properties aren't.
However, the bindings exists on the deprecated SvelteInputProps, so maybe this is intentional somehow ?
Reproduction
Any typing of HTMLInputAttributes will raise ts or svelte/check errors, like this:
Describe the bug
Unless I'm mistaken, it seems that the
files
andgroup
attributes are missing from theHTMLInputAttributes
type insvelte/packages/svelte/element.d.ts
.The typings for the binding
'bind:group'
and'bind:files'
are present (as seen here) but the individual properties aren't.However, the bindings exists on the deprecated
SvelteInputProps
, so maybe this is intentional somehow ?Reproduction
Any typing of HTMLInputAttributes will raise ts or svelte/check errors, like this:
As a workaround I've been extending the types:
Logs
No response
System Info
svelte: ^5.4.0 => 5.4.0
Severity
annoyance
The text was updated successfully, but these errors were encountered: