Open shadabfaiz-cawstudios opened 3 years ago
[QUESTION] In typescript we can create a generic interface like:
interface PaginationData<T> { items: T[] pageInfo: PageInfo } type PaginatedUserData = PaginationData<User>
How can i achieve similar result with superstruct?
[QUESTION] In typescript we can create a generic interface like:
How can i achieve similar result with superstruct?