mergeDefault
Merge the default options to user input
Type Parameters
Type Parameter |
---|
T extends Record <string , any > |
Parameters
Parameter | Type | Description |
---|---|---|
def | T | Default options |
given | T | User input |
Returns
Required
<T
>
Merged options
Merge the default options to user input
Type Parameter |
---|
T extends Record <string , any > |
Parameter | Type | Description |
---|---|---|
def | T | Default options |
given | T | User input |
Required
<T
>
Merged options