ryansolid / dom-expressions

A Fine-Grained Runtime for Performant DOM Rendering
MIT License
858 stars 125 forks source link

Make `elementtiming` and `fetchpriority` optional properties #244

Closed yhdgms1 closed 1 year ago

yhdgms1 commented 1 year ago

I see there was an Issue about missing properties, but I suppose they should be optional, because if I do

import type { JSX } from 'solid-js';

type ImgAttrs = JSX.ImgHTMLAttributes<HTMLImageElement>;

const defaultProps = {
  src: 'http://'
} satisfies ImgAttrs;

I get a error that elementtiming and fetchpriority is required

bniwredyc commented 1 year ago

:shipit:

usmanyunusov commented 1 year ago

:(