forked from nicojs/typed-html
-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Prerequisites
- I have written a clear issue title
- I have searched existing issues to avoid duplicates
Versions
4.2.11
A minimal reproducible example
https://
Bug Description
The dialog element interface is missing the closedby property:
interface HtmlDialogTag extends HtmlTag {
open?: undefined | boolean;
onclose?: undefined | string;
}but it should be there as per the HTML spec.
Steps to Reproduce
import { Html } from "@kitajs/html";
const MyComponent = () => <dialog closedby="any"></dialog>;Expected Behavior
To not see the error
Type '{ closedby: string; }' is not assignable to type 'HtmlDialogTag'.
Property 'closedby' does not exist on type 'HtmlDialogTag'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels