Skip to content

Commit 302bc47

Browse files
committed
🔧 fix: inline query
1 parent c3c56b2 commit 302bc47

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

example/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const page = `
1313

1414
const jsx = (
1515
<html lang="en">
16-
<head>
16+
<head hx-a=''>
1717
<title>Hello World</title>
1818
</head>
1919
<body>

src/declaration.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// @ts-nocheck
2+
13
// @ts-ignore
24
const { createElement } = require('typed-html')
35

@@ -480,7 +482,8 @@ declare namespace JSX {
480482
onunload?: string
481483
}
482484
interface HtmlTag {
483-
[attributes: string]: string | boolean
485+
// @ts-ignore
486+
[attributes?: string]: string | boolean
484487
oncontextmenu?: string
485488
onkeydown?: string
486489
onkeypress?: string

0 commit comments

Comments
 (0)