Got rid of the last brace-typed and hyphen-less params etc

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-01-09 15:56:07 +01:00
parent c8ff2df05a
commit 5333451def
72 changed files with 247 additions and 423 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export function exitWithError(err: Error & { code?: unknown }) {
* Waits for fn() to be true
* Checks every 100ms
* .cancel() is available
* @returns {Promise} Promise of resolution
* @returns Promise of resolution
*/
export function waitFor(fn: () => boolean, maxSeconds: number = 120) {
let count = 0;