fix(types/jsx): add missing loading attr for img element (#6160)

This commit is contained in:
Innei 2023-07-10 17:58:53 +08:00 committed by GitHub
parent 381b4977af
commit 68d6b43f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -457,6 +457,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
srcset?: string
usemap?: string
width?: Numberish
loading?: 'lazy' | 'eager'
}
export interface InsHTMLAttributes extends HTMLAttributes {