Skip to content

Commit

Permalink
fix(types/jsx): add missing loading attr for img element (#6160)
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei authored Jul 10, 2023
1 parent 381b497 commit 68d6b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/runtime-dom/src/jsx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
srcset?: string
usemap?: string
width?: Numberish
loading?: 'lazy' | 'eager'
}

export interface InsHTMLAttributes extends HTMLAttributes {
Expand Down

0 comments on commit 68d6b43

Please sign in to comment.