Skip to content

Commit

Permalink
Fix typo in persistent-caching.md
Browse files Browse the repository at this point in the history
  • Loading branch information
randing89 committed Feb 18, 2021
1 parent 1174072 commit 4f9eb70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/persistent-caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,11 @@ class MyClass {
}

register(MyClass, "some-module/lib/MyClass", null, {
seralize(obj, { write }) {
serialize(obj, { write }) {
write(obj.a);
write(obj.b);
write(obj.c);
}
},
deserialize({ read }) {
const obj = new MyClass(read(), read());
obj.c = read();
Expand Down

0 comments on commit 4f9eb70

Please sign in to comment.