File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ # 0.6.2 - 8 Sep 2023
2
+ Improvement:
3
+ - Add support for custom element
4
+ - Add support for custom attribute
5
+
1
6
# 0.6.1 - 8 Sep 2023
2
7
Improvement:
3
8
- Add support for JSX
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @elysiajs/html" ,
3
- "version" : " 0.6.1 " ,
3
+ "version" : " 0.6.2 " ,
4
4
"description" : " Plugin for Elysia that add support for returning html" ,
5
5
"author" : {
6
6
"name" : " saltyAom" ,
Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ declare namespace JSX {
343
343
}
344
344
345
345
interface IntrinsicElements {
346
+ [ customElement : string ] : HtmlTag
346
347
a : HtmlAnchorTag
347
348
abbr : HtmlTag
348
349
address : HtmlTag
@@ -479,6 +480,7 @@ declare namespace JSX {
479
480
onunload ?: string
480
481
}
481
482
interface HtmlTag {
483
+ [ attributes : string ] : string | boolean
482
484
oncontextmenu ?: string
483
485
onkeydown ?: string
484
486
onkeypress ?: string
You can’t perform that action at this time.
0 commit comments