We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<script lang="ts"> let w: any </script> <svelte:window bind:innerWidth={w} />
Typescript error - Type '{ innerWidth: any }' is not assignable to type 'HTMLProps'. Property 'innerWidth' does not exist on type 'HTMLProps'.ts(2322)
The text was updated successfully, but these errors were encountered:
svelte:windows binding (#266)
e918e1f
#265
svelte:body bind has the same error
Sorry, something went wrong.
I think that would be correct. Svelte doc doesn't mention you could do that and I tried it in REPL it only gets undefined.
Yes, sorry, the documentation says so
No branches or pull requests
Typescript error - Type '{ innerWidth: any }' is not assignable to type 'HTMLProps'.
Property 'innerWidth' does not exist on type 'HTMLProps'.ts(2322)
The text was updated successfully, but these errors were encountered: