Skip to content

Conversation

@raswonders
Copy link

useDataViewSelection provides nice API for a table selection but it's lacking in type inference department. Returned value from this hook is filled with "any".

image

For type safety we currently assert over these values but it would be nicer if we din't have to. What do you think?

This is just a Quality of Life improvement and we can still use type assertion to work around it but it would feel nicer if we didn't have to.

@patternfly-build
Copy link

patternfly-build commented Jan 12, 2026

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