mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-02-23 03:35:25 +01:00
Fix a nullability issue
Signed-off-by: Reece Dunham <me@rdil.rocks>
This commit is contained in:
parent
60e7648a60
commit
9747ec5082
@ -352,8 +352,8 @@ export class LiveSplitClient extends EventEmitter {
|
||||
* @internal
|
||||
*/
|
||||
private async _waitForResponse(): LiveSplitResult {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
let listener: ((...args: any[]) => void) | undefined = undefined
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/no-empty-function
|
||||
let listener: (...args: any[]) => void = () => {}
|
||||
|
||||
const responseRecieved = new Promise<Awaited<LiveSplitResult>>(
|
||||
(resolve) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user