Skip to content

Pagination on Variant types. #1291

Answered by hayes
supriya-reddy-91 asked this question in Q&A
Discussion options

You must be logged in to vote

It is likely that the data requirements for both variants are the same. Typescript uses structural typing, so if 2 types have all the same properties, they can be used interchangeably without any type errors.

I'd have to see the definitions of UserVariant and User to know for sure

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by supriya-reddy-91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants