Closed
Description
Describe the bug
Although bind:focus works, my IDE isn't happy:
So it looks like a typings issue. should it maybe be added to the declaration files?
Reproduction
paste this into your IDE and wait for intellisense:
<script>
let focused = $state([]);
</script>
<input bind:focused={focused[0]} /> <br>
<textarea bind:focused={focused[1]}></textarea> <br>
<select bind:focused={focused[2]}></select> <br>
<div bind:focused={focused[3]} tabindex="0">DIV</div> <br>
{focused}
Logs
System Info
Windows 11
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels