Fix compilation with latest typescript
This commit is contained in:
parent
6614e3d050
commit
c5acd0e11a
|
@ -3,7 +3,7 @@ function isTestInstance () {
|
|||
}
|
||||
|
||||
function waitMs (ms: number) {
|
||||
return new Promise(res => {
|
||||
return new Promise<void>(res => {
|
||||
setTimeout(() => res(), ms)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue