mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 23:33:13 +09:00
Fix bad typings left over from the migration
This commit is contained in:
1 parent
7314dc99c8
commit
80e1904175
22 files changed
+93
-117
No files matched your search
@@ -692,9 +692,9 @@ export class FactorioServer extends events.EventEmitter {
|
||||
this._maxConcurrentCommands = value;
|
||||
this.setMaxListeners(value + 5);
|
||||
if (this._rconClient) {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error sendQueue is private
|
||||
if (this._rconClient.sendQueue) {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error sendQueue is private
|
||||
this._rconClient.sendQueue.maxConcurrent = value;
|
||||
}
|
||||
// XXX: Workaround to suppress bogus event listener warning
|
||||
|
||||
Reference in new issue
Block a user