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

Pass generic type to usePuck #579

Closed
Tracked by #461
chrisvxd opened this issue Aug 27, 2024 · 0 comments · Fixed by #601
Closed
Tracked by #461

Pass generic type to usePuck #579

chrisvxd opened this issue Aug 27, 2024 · 0 comments · Fixed by #601
Assignees
Labels
ready Assumed ready enough to start type: feature

Comments

@chrisvxd
Copy link
Member

The usePuck hook should probably take a generic type of UserConfig so that the type field in getPermissions can be fully typed against the user's actual components.

Originally posted by @chrisvxd in #574 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Assumed ready enough to start type: feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant