fix: typings for naturalWidth/Height bindings

follow-up to #7857
pull/8328/head
Simon H 2 years ago committed by GitHub
parent b5b0d1f2d4
commit dc36d0c9af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -707,6 +707,9 @@ export interface HTMLImgAttributes extends HTMLAttributes<HTMLImageElement> {
srcset?: string | undefined | null; srcset?: string | undefined | null;
usemap?: string | undefined | null; usemap?: string | undefined | null;
width?: number | string | undefined | null; width?: number | string | undefined | null;
readonly 'bind:naturalWidth'?: number | undefined | null;
readonly 'bind:naturalHeight'?: number | undefined | null;
} }
export interface HTMLInsAttributes extends HTMLAttributes<HTMLModElement> { export interface HTMLInsAttributes extends HTMLAttributes<HTMLModElement> {

Loading…
Cancel
Save