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

Expose public types used in useObjectsTable #225

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

tokland
Copy link
Contributor

@tokland tokland commented Jan 21, 2022

Motivation: When using useObjectsTable, it's very handy to get access to the types of the hook's arguments. Note that typically you could hack it with Parameters<typeof fn>[ARGINDEX], but here, being a generic function, it's not that useful (see microsoft/TypeScript#37181).

Related: https://app.clickup.com/t/1vj3xp8

@tokland tokland requested a review from adrianq August 10, 2022 11:22
@adrianq adrianq merged commit c5c9697 into development Sep 22, 2023
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.

3 participants