(path: Path, oldValue: Doc, newValue: Doc)
| 114 | } |
| 115 | |
| 116 | replaceOperation(path: Path, oldValue: Doc, newValue: Doc) { |
| 117 | const operation = json1.replaceOp(path, oldValue, newValue)!; |
| 118 | |
| 119 | this._operationCache.push(operation); |
| 120 | |
| 121 | this._emitStateChange(); |
| 122 | } |
| 123 | |
| 124 | dispatch(op: JSONOp, source = 'user' /* user, api */) { |
| 125 | const prevDoc = this.getState(); |
no test coverage detected