Fix compilation with latest typescript

This commit is contained in:
Chocobozzz 2020-12-29 16:04:27 +01:00
parent 6614e3d050
commit c5acd0e11a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ function isTestInstance () {
} }
function waitMs (ms: number) { function waitMs (ms: number) {
return new Promise(res => { return new Promise<void>(res => {
setTimeout(() => res(), ms) setTimeout(() => res(), ms)
}) })
} }