0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 19:26:56 +01:00

fix(types): add key to IntrinsicAttributes (#3474)

* add key to IntrinsicAttributes

* fix format error
This commit is contained in:
Neko Hz 2024-10-02 15:24:46 +08:00 committed by GitHub
parent c0d782cd64
commit 31b4cd414c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,9 @@ export namespace JSX {
export interface IntrinsicElements extends IntrinsicElementsDefined {
[tagName: string]: Props
}
export interface IntrinsicAttributes {
key?: string | number | bigint | null | undefined
}
}
let nameSpaceContext: Context<string> | undefined = undefined