Extends given input by required defaults as given by type R.
R
input object
output object, having properties of R as required properties
Extends given input by required defaults as given by type
R
.