Upgrade deps

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-12-14 09:23:29 +01:00
parent a9f47d4c45
commit 594d5a91ec
8 changed files with 133 additions and 388 deletions

View File

@@ -1,6 +1,7 @@
async function asyncForEach(
array: Array<any>,
callback: (arg0: any, arg1: number, arg2: Array<any>) => any
// eslint-disable-next-line no-unused-vars
callback: (arg0: any, arg1: number, arg2: Array<any>) => void
): Promise<void> {
for (let index = 0; index < array.length; index += 1) {
// eslint-disable-next-line no-await-in-loop