fix ts error

This commit is contained in:
Bruno Windels 2022-07-26 17:55:21 +02:00
parent 544afef902
commit bfaba63f47

View file

@ -80,7 +80,7 @@ export function iterateResponseStateEvents(roomResponse: RoomResponse, callback:
} }
} }
if (promises) { if (promises) {
return Promise.all(promises); return Promise.all(promises).then(() => undefined);
} }
} }