1
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:
Reece Dunham 2023-01-23 13:34:08 -05:00
parent 60e7648a60
commit 9747ec5082
No known key found for this signature in database
GPG Key ID: 0D7E929D2089E040

@ -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) => {