Commit 8211f7f
committed
[sharedb] Add emitter types to
The `MilestoneDB` [extends `EventEmitter`][1], and exposes these events:
- [`'save'`][2]
- [`'error'`][3]
[1]: https://github.com/share/sharedb/blob/10ba551013138a0031fff632d587d3002e45b781/lib/milestone-db/index.js#L14
[2]: https://github.com/share/sharedb/blob/10ba551013138a0031fff632d587d3002e45b781/lib/milestone-db/memory.js#L40
[3]: https://github.com/share/sharedb/blob/10ba551013138a0031fff632d587d3002e45b781/lib/milestone-db/memory.js#L39MilestoneDB
1 parent 2168a5a commit 8211f7f
2 files changed
Lines changed: 11 additions & 1 deletion
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
225 | 230 | | |
226 | 231 | | |
227 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
0 commit comments