Skip to content
New issue

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

Type errors on ResizeObserver bindings #2066

Closed
brunnerh opened this issue Jun 23, 2023 · 0 comments
Closed

Type errors on ResizeObserver bindings #2066

brunnerh opened this issue Jun 23, 2023 · 0 comments
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release.

Comments

@brunnerh
Copy link
Member

Describe the bug

Properties like borderBoxSize are completed with tooltip Available for all elements. (read-only) but cause a type error:

Property 'borderBoxSize' does not exist on type 'HTMLDivElement'. ts(2339)

Reproduction

<script lang="ts">
  let borderBoxSize: any;
</script>
<div bind:borderBoxSize />

Expected behaviour

No errors.

System Info

  • OS: Windows 11, 64bit
  • IDE: VSCode
  • Extension version: v107.6.0

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

image

@brunnerh brunnerh added the bug Something isn't working label Jun 23, 2023
@dummdidumm dummdidumm added the Fixed Fixed in master branch. Pending production release. label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release.
Projects
None yet
Development

No branches or pull requests

2 participants