mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
feat: define JSX.ElementChildrenAttribute interface (#1139)
* feat: define JSX.ElementChildrenAttribute interface * chore: denoify
This commit is contained in:
parent
ba49192f6e
commit
c09dbc060b
@ -8,6 +8,9 @@ declare global {
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
namespace JSX {
|
||||
type Element = HtmlEscapedString
|
||||
interface ElementChildrenAttribute {
|
||||
children: Child
|
||||
}
|
||||
interface IntrinsicElements {
|
||||
[tagName: string]: Props
|
||||
}
|
||||
|
@ -8,6 +8,9 @@ declare global {
|
||||
// eslint-disable-next-line @typescript-eslint/no-namespace
|
||||
namespace JSX {
|
||||
type Element = HtmlEscapedString
|
||||
interface ElementChildrenAttribute {
|
||||
children: Child
|
||||
}
|
||||
interface IntrinsicElements {
|
||||
[tagName: string]: Props
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user