Skip to content

Commit

Permalink
improve return type for detailedDiff
Browse files Browse the repository at this point in the history
  • Loading branch information
icholy authored and mattphillips committed Nov 12, 2022
1 parent e12da18 commit 3f7a5a5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.d.ts
Expand Up @@ -6,4 +6,10 @@ export function deletedDiff (originalObj: object, updatedObj: object): object

export function updatedDiff (originalObj: object, updatedObj: object): object

export function detailedDiff (originalObj: object, updatedObj: object): object
export interface DetailedDiff {
added: object
deleted: object
updated: object
}

export function detailedDiff (originalObj: object, updatedObj: object): DetailedDiff

0 comments on commit 3f7a5a5

Please sign in to comment.