@@ -225,9 +225,7 @@ export class InsStrOp extends Op implements IJsonCrdtPatchEditOperation {
225225 }
226226
227227 public toString ( ) : string {
228- return super . toString ( ) + `, obj = ${ printTs (
229- this . obj ,
230- ) } { ${ printTs ( this . ref ) } ← ${ JSON . stringify ( this . data ) } }`;
228+ return super . toString ( ) + `, obj = ${ printTs ( this . obj ) } { ${ printTs ( this . ref ) } ← ${ JSON . stringify ( this . data ) } }` ;
231229 }
232230}
233231
@@ -299,7 +297,7 @@ export class InsArrOp extends Op implements IJsonCrdtPatchEditOperation {
299297 const obj = printTs ( this . obj ) ;
300298 const ref = printTs ( this . ref ) ;
301299 const data = this . data . map ( printTs ) . join ( ', ' ) ;
302- return super . toString ( ) + ', obj = ' + obj + ' { ' + ref + ' ← ' + data + ' }' ;
300+ return super . toString ( ) + ', obj = ' + obj + ' { ' + ref + ' ← ' + data + ' }' ;
303301 }
304302}
305303
@@ -310,10 +308,10 @@ export class InsArrOp extends Op implements IJsonCrdtPatchEditOperation {
310308 */
311309export class UpdArrOp extends Op implements IJsonCrdtPatchEditOperation {
312310 /**
313- * @param id ID of this operation.
314- * @param obj and "arr" object ID where to update an element.
315- * @param ref ID of the element to update.
316- * @param val ID of the new value to set.
311+ * @param id ID of this operation.
312+ * @param obj and "arr" object ID where to update an element.
313+ * @param ref ID of the element to update.
314+ * @param val ID of the new value to set.
317315 */
318316 constructor (
319317 public readonly id : ITimestampStruct ,
@@ -332,7 +330,7 @@ export class UpdArrOp extends Op implements IJsonCrdtPatchEditOperation {
332330 const obj = printTs ( this . obj ) ;
333331 const ref = printTs ( this . ref ) ;
334332 const val = printTs ( this . val ) ;
335- return super . toString ( ) + ', obj = ' + obj + ' { ' + ref + ': ' + val + ' }' ;
333+ return super . toString ( ) + ', obj = ' + obj + ' { ' + ref + ': ' + val + ' }' ;
336334 }
337335}
338336
0 commit comments