Closed abonifacio closed 3 years ago
:construction_worker: Deploy request for restful-react accepted.
:hammer: Explore the source changes: 250441370d5284f0784c52e4ee8973e26ba5df69
:mag: Inspect the deploy log: https://app.netlify.com/sites/restful-react/deploys/60ecf1a49310ff00071f58ea
Why
Given the following spec
Resulting types are
With this change, resulting types are
This adds a helper type (
Require<T,R extends keyof T>
) to make it more readable, otherwise the output would be