Skip to content

Commit

Permalink
Fix README.
Browse files Browse the repository at this point in the history
  • Loading branch information
shellyln committed Jan 16, 2020
1 parent 1646654 commit 29b844b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ try {
const needle1 = pick(original, needleType); // {a: 'x'}
needle1.a = 'y'; // Edit the needle data
needle1.q = 1234;
const changed1 = patch(original, needle1, needleType); // {a: 'y'}
const changed1 = patch(original, needle1, needleType); // {a: 'y', b: 3}
} catch (e) {
console.log(e.message);
console.log(e.ctx?.errors);
Expand Down

0 comments on commit 29b844b

Please sign in to comment.