PATH: //usr/lib/node_modules/npm/node_modules/just-diff-apply
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 LICENSE
↓
X
📄 index.d.ts
↓
X
📄 index.js
↓
X
📄 index.mjs
↓
X
📄 index.tests.ts
↓
X
📄 package.json
↓
X
📄 rollup.config.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: index.d.ts
// Definitions by: Eddie Atkinson <https://github.com/eddie-atkinson> type Operation = "add" | "replace" | "remove" | "move"; type DiffOps = Array<{ op: Operation; path: Array<string | number>; value?: any; }>; type PathConverter = (path: string) => string[]; export function diffApply<T extends object>( obj: T, diff: DiffOps, pathConverter?: PathConverter ): T; export const jsonPatchPathConverter: PathConverter;
SIMPAN PERUBAHAN