Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

mankeheaven
Copy link

close #3691

@posva posva changed the title fix(runtime-dom):ts ImgHTMLAttributes loading property fix(types): ImgHTMLAttributes loading property Apr 29, 2021
@ruchenshanghai
Copy link

will this issue be solved by this PR?
if so, why don't we merge this PR ?

@@ -457,6 +457,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
srcset?: string
usemap?: string
width?: number | string
loading?: "lazy" | "eager" | "auto";
Copy link

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?

Copy link
Author

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

Copy link

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 ;)

Copy link
Member

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

@edison1105 edison1105 added the 🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. label Aug 27, 2021
Copy link
Member

@sxzz sxzz left a 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";
Copy link
Member

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

@sxzz sxzz closed this Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImgHTMLAttributes should has a loading propety
5 participants