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: allow to explicitly set state using generics #262

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

michalkvasnicak
Copy link
Collaborator

Change Summary

This PR fixes how createFrames() function is defined. Now it takes first generic parameter as State.

PR also adds type tests so we can at least be sure that the API works fine on type level.

Merge Checklist

  • PR has a Changeset
  • PR includes documentation if necessary
  • PR updates the boilerplates if necessary

Copy link

vercel bot commented Mar 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frames-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 2:20pm
framesjs-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 2:20pm

@michalkvasnicak michalkvasnicak merged commit f4d5f4f into dev Mar 28, 2024
7 checks passed
@michalkvasnicak michalkvasnicak deleted the fix/state-types branch March 28, 2024 14:29
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.

2 participants