Skip to content

Commit

Permalink
added idProps option
Browse files Browse the repository at this point in the history
  • Loading branch information
redexp committed Oct 27, 2023
1 parent c248d39 commit 2564260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "simple-diff",
"version": "1.7.1",
"version": "1.7.2",
"description": "simple diff for object and arrays with options",
"main": "simple-diff.js",
"types": "simple-diff.d.ts",
Expand Down
1 change: 1 addition & 0 deletions simple-diff.d.ts
Expand Up @@ -4,6 +4,7 @@ export default diff;

export interface DiffOptions extends Partial<PathChange> {
idProp?: string,
idProps?: {[path: string]: string},
addEvent?: string,
removeEvent?: string,
changeEvent?: string,
Expand Down

0 comments on commit 2564260

Please sign in to comment.