]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/root-helpers/utils.ts
Upgrade client dependencies
[github/Chocobozzz/PeerTube.git] / client / src / root-helpers / utils.ts
index e32187ddb0d5b9e5a8cbfe9375bdcc62252d2e98..06591b95e25414187cd72f76a4fead42d1bac223 100644 (file)
@@ -57,7 +57,7 @@ function importModule (path: string) {
 }
 
 function wait (ms: number) {
-  return new Promise(res => {
+  return new Promise<void>(res => {
     setTimeout(() => res(), ms)
   })
 }