Extracts the response type from a resource
The resource type
The response type
type extracted = ExtractResourceType<Resource<{ id: number }>>; Copy
type extracted = ExtractResourceType<Resource<{ id: number }>>;
Extracts the response type from a resource