Merge branch 'IDTEAM-1.26.0' into 'main'
[ProtonMail-WebClient.git] / packages / shared / lib / helpers / updateObject.ts
blob230907a179faad57f251a64d47d9d7fe1fb40d31
1 const updateObject = <T>(model: T, newModel: Partial<T>) => ({
2     ...model,
3     ...newModel,
4 });
6 export default updateObject;