Open
Description
Describe the bug
It seems like Svelte is using type inference for binds which ends up with incorrect typings.
In practice for <input type="number" />
the values are of type number | null
, but it shows string
in the following example.

This ends up with runtime errors down the road.
Reproduction
Logs
System Info
Svelte 5.25.3, TypeScript 5.8.2
Severity
annoyance