Skip to content

Instantly share code, notes, and snippets.

View ACvijic's full-sized avatar
🛠️
*tink* *tonk* work, work...

acvi ACvijic

🛠️
*tink* *tonk* work, work...
  • Javascript Developer @levinine
  • Belgrade, Serbia
View GitHub Profile
@mir4ef
mir4ef / deep-merge.ts
Created January 9, 2018 03:14
Deep merging of JavaScript objects (in TypeScript)
interface IIsObject {
(item: any): boolean;
}
interface IObject {
[key: string]: any;
}
interface IDeepMerge {
(target: IObject, ...sources: Array<IObject>): IObject;