diff --git a/index.d.ts b/index.d.ts index e848bff..2fea20a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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