defaults < TObject , TSource > ( object , source ) : NonNullable < TSource & TObject > The destination object.
Defined in node_modules/@types/lodash/common/object.d.ts:482 defaults < TObject , TSource1 , TSource2 > ( object , source1 , source2 ) : NonNullable < TSource2 & TSource1 & TObject > Defined in node_modules/@types/lodash/common/object.d.ts:486 defaults < TObject , TSource1 , TSource2 , TSource3 > ( object , source1 , source2 , source3 ) : NonNullable < TSource3 & TSource2 & TSource1 & TObject > Type Parameters TObject TSource1 TSource2 TSource3 Defined in node_modules/@types/lodash/common/object.d.ts:490 defaults < TObject , TSource1 , TSource2 , TSource3 , TSource4 > ( object , source1 , source2 , source3 , source4 ) : NonNullable < TSource4 & TSource3 & TSource2 & TSource1 & TObject > Type Parameters TObject TSource1 TSource2 TSource3 TSource4 Defined in node_modules/@types/lodash/common/object.d.ts:494 defaults < TObject > ( object ) : NonNullable < TObject > Returns NonNullable < TObject > Defined in node_modules/@types/lodash/common/object.d.ts:498 defaults ( object , ... sources ) : any Parameters object : any Rest
... sources : any [] Returns any Defined in node_modules/@types/lodash/common/object.d.ts:502
Assigns own enumerable properties of source object(s) to the destination object for all destination properties that resolve to undefined. Once a property is set, additional values of the same property are ignored.
Note: This method mutates object.