Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
alt-nodejs16
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
just-diff
/
File Content:
index.d.ts
// Definitions by: Cameron Hunter <https://github.com/cameronhunter> // Modified by: Angus Croll <https://github.com/angus-c> type Operation = "add" | "replace" | "remove"; type JSONPatchPathConverter<OUTPUT> = ( arrayPath: Array<string | number> ) => OUTPUT; export function diff( a: object | Array<any>, b: object | Array<any>, ): Array<{ op: Operation; path: Array<string | number>; value: any }>; export function diff<PATH>( a: object | Array<any>, b: object | Array<any>, jsonPatchPathConverter: JSONPatchPathConverter<PATH> ): Array<{ op: Operation; path: PATH; value: any }>; export const jsonPatchPathConverter: JSONPatchPathConverter<string>;
Submit
FILE
FOLDER
Name
Size
Permission
Action
LICENSE
1078 bytes
0644
index.d.ts
668 bytes
0644
index.js
3944 bytes
0644
index.mjs
3897 bytes
0644
index.tests.ts
1293 bytes
0644
package.json
767 bytes
0644
rollup.config.js
120 bytes
0644
N4ST4R_ID | Naxtarrr