Remove unused full arguments

As distinct from removing destructured props.

GitOrigin-RevId: d02ad8d36fb532559ed2899268d7b699f2f2fa37
This commit is contained in:
andrew rumble
2025-06-11 08:05:46 +00:00
committed by Copybot
parent eb60d364f6
commit 4960569648
28 changed files with 49 additions and 67 deletions
@@ -599,7 +599,7 @@ export class DocumentContainer extends EventEmitter {
this.doc.on('remoteop', (...ops: AnyOperation[]) => {
return this.trigger('remoteop', ...ops)
})
this.doc.on('op:sent', (op: AnyOperation) => {
this.doc.on('op:sent', () => {
return this.trigger('op:sent')
})
this.doc.on('op:acknowledged', (op: AnyOperation) => {
@@ -609,7 +609,7 @@ export class DocumentContainer extends EventEmitter {
})
return this.trigger('op:acknowledged')
})
this.doc.on('op:timeout', (op: AnyOperation) => {
this.doc.on('op:timeout', () => {
this.trigger('op:timeout')
return this.onError(new Error('op timed out'))
})