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

Typescript "HTMLAttributes" interface missing "inert" #1564

Closed
EvAvKein opened this issue Jul 22, 2022 · 0 comments
Closed

Typescript "HTMLAttributes" interface missing "inert" #1564

EvAvKein opened this issue Jul 22, 2022 · 0 comments
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release.

Comments

@EvAvKein
Copy link

Describe the bug

The extension's "HTMLAttributes" interface (definition at svelte.d.ts) doesn't include "inert", and therefore highlights the attribute as invalid

Reproduction

<section inert={true}></section>
<section inert={false}></section>
<section inert={undefined}></section>
<section inert={null}></section>

Expected behaviour

The extension recognizes "inert" as a valid HTML attribute (with the value types boolean | undefined | null )

System Info

  • OS: Windows 10
  • IDE: VSCode

Which package is the issue about?

Svelte for VS Code extension

Additional Information, eg. Screenshots

No response

@EvAvKein EvAvKein added the bug Something isn't working label Jul 22, 2022
dummdidumm pushed a commit that referenced this issue Jul 25, 2022
@dummdidumm dummdidumm added the Fixed Fixed in master branch. Pending production release. label Jul 25, 2022
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