-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(types): ImgHTMLAttributes loading property #3692
Conversation
will this issue be solved by this PR? |
@@ -457,6 +457,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes { | |||
srcset?: string | |||
usemap?: string | |||
width?: number | string | |||
loading?: "lazy" | "eager" | "auto"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
Thank you for your contribution :)
Could you use single quote to be more consistent as other examples above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use prettier, lintstaged and husky to standardize the format other than manual control?
format is a engineer issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run npm run lint
after perform your changes ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format your code and resolve conflicts, also auto
isn't a standard value.
MDN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have another PR #6160 resolved the comments I left, so I'll close this one.
@@ -457,6 +457,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes { | |||
srcset?: string | |||
usemap?: string | |||
width?: number | string | |||
loading?: "lazy" | "eager" | "auto"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format your code and resolve conflicts, also auto
isn't a standard value.
MDN
close #3691