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: add nest prop to Preact types, in line with React types #426

Merged
merged 1 commit into from Mar 14, 2024

Conversation

bensaufley
Copy link
Contributor

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.

Copy link

stackblitz bot commented Mar 13, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

codecov bot commented Mar 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f2e3b8d) to head (0a33c88).

Additional details and impacted files
@@            Coverage Diff            @@
##                v3      #426   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            1         1           
=========================================
  Hits             1         1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@molefrog
Copy link
Owner

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

@molefrog molefrog merged commit 5efe317 into molefrog:v3 Mar 14, 2024
4 checks passed
@molefrog
Copy link
Owner

Published a bugfix in v3.1.1

@bensaufley bensaufley deleted the bs-nest-preact branch March 14, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants