Skip to content

Commit 8ba3050

Browse files
committed
feat: support hyperscript
Support hyperscript by allowing "_" as an attribute
1 parent 88a6a62 commit 8ba3050

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jsx/events.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ declare namespace JSX {
1919
onstorage?: string;
2020
onundo?: string;
2121
onunload?: string;
22+
_?: string;
2223
}
2324
interface HtmlTag {
2425
oncontextmenu?: string;
@@ -41,6 +42,7 @@ declare namespace JSX {
4142
onmouseup?: string;
4243
onmousewheel?: string;
4344
onscroll?: string;
45+
_?: string;
4446
}
4547
interface FormEvents {
4648
onblur?: string;

0 commit comments

Comments
 (0)