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

feat/correct state type #48

Merged
merged 5 commits into from
Jul 26, 2024
Merged

feat/correct state type #48

merged 5 commits into from
Jul 26, 2024

Conversation

megheaiulian
Copy link
Contributor

  • Improve the typing of useState hook.
  • Improve the type definition of useProperty.
  • Cleanup exported types
  • Describe changes

Fixes #16
Fixes matthewp/haunted#466

@megheaiulian megheaiulian added the enhancement New feature or request label Jul 26, 2024
@megheaiulian megheaiulian requested review from cristinecula and a team July 26, 2024 14:19
@megheaiulian megheaiulian self-assigned this Jul 26, 2024
Copy link

changeset-bot bot commented Jul 26, 2024

🦋 Changeset detected

Latest commit: d3b0e2c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@pionjs/pion Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Jul 26, 2024

Deploy Preview for pionjs ready!

Name Link
🔨 Latest commit d3b0e2c
🔍 Latest deploy log https://app.netlify.com/sites/pionjs/deploys/66a3b197a30b3c000802ee77
😎 Deploy Preview https://deploy-preview-48--pionjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@megheaiulian megheaiulian merged commit 7c82487 into main Jul 26, 2024
8 checks passed
@megheaiulian megheaiulian deleted the feat/correct-state-type branch July 26, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using useState with generic types Improve useState type definition
2 participants