Closed bensaufley closed 4 months ago
Run & review this pull request in StackBlitz Codeflow.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
f2e3b8d
) to head (0a33c88
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
You are right, I've overlooked it. Preact types sometimes become out of date because we lack a good way to build them based on React types. This probably requires some refactoring and a Vite plugin (haven't researched this, but open to contributions).
Published a bugfix in v3.1.1
Am I wrong that this is just an oversight in the types? The Preact package mostly just imports the React one. I did double-check the rest of the file and everything looks equivalent besides this.