mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Remove unused full arguments
As distinct from removing destructured props. GitOrigin-RevId: d02ad8d36fb532559ed2899268d7b699f2f2fa37
This commit is contained in:
@@ -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'))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user