Closed ajiho closed 1 week ago
Because the html element doesn't take that attribute normally. The type checking checks for standard attributes.
You can extend the type definition by following the second part of this section: https://docs.astro.build/en/guides/typescript/#built-in-html-attributes
Describe the Bug
Why? This syntax can be compiled in Astro, but vscode reports an error, which I think is very unreasonable
Steps to Reproduce
无