utils.ts 114 B

123
  1. export function update<T>(base: T, updatePartial: Partial<T>): T {
  2. return Object.assign(base, updatePartial);
  3. }