Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramy Ben Aroya authored Aug 15, 2018
1 parent 311e282 commit 2e07c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ For applying multiple decorators on a single property, you can pass an array of
```javascript
import { decorate, observable } from "mobx"
import { serializable, primitive } from "serializr"
import persist from 'mobx-persist';
import persist from "mobx-persist";

class Todo {
id = Math.random();
title = "";
finished = false;
}
decorate(Todo, {
title: [serializable(primitive), persist('object'), observable],
title: [serializable(primitive), persist("object"), observable],
finished: [serializable(primitive), observable]
})
```
Expand Down

0 comments on commit 2e07c95

Please sign in to comment.