defaults < TObject , TSource > ( object : TObject , source : TSource , ) : NonNullable < TSource & TObject > The destination object.
Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:483 defaults < TObject , TSource1 , TSource2 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , ) : NonNullable < TSource2 & TSource1 & TObject > Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:487 defaults < TObject , TSource1 , TSource2 , TSource3 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , ) : NonNullable < TSource3 & TSource2 & TSource1 & TObject > Type Parameters TObject TSource1 TSource2 TSource3 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:491 defaults < TObject , TSource1 , TSource2 , TSource3 , TSource4 > ( object : TObject , source1 : TSource1 , source2 : TSource2 , source3 : TSource3 , source4 : TSource4 , ) : NonNullable < TSource4 & TSource3 & TSource2 & TSource1 & TObject > Type Parameters TObject TSource1 TSource2 TSource3 TSource4 Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:495 defaults < TObject > ( object : TObject ) : NonNullable < TObject > Returns NonNullable < TObject > Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:499 defaults ( object : any , ... sources : any [] ) : any Parameters object : any ... sources : any [] Returns any Defined in work/takaro/takaro/node_modules/@types/lodash/common/object.d.ts:503
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.