Skip to content
Extraits de code Groupes Projets
Valider d3cfe7ca rédigé par Travis Ralston's avatar Travis Ralston
Parcourir les fichiers

Appease the linter too

parent 2f1ca4e3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -296,7 +296,7 @@ export class Util { ...@@ -296,7 +296,7 @@ export class Util {
return {command, args}; return {command, args};
} }
public static async AsyncForEach<T>(arr: T[], callback: (item: T, i: number, a: T[]) => void) { public static async AsyncForEach<T>(arr: T[], callback: (item: T, i: number, a: T[]) => Promise<void>) {
for (let i = 0; i < arr.length; i++) { for (let i = 0; i < arr.length; i++) {
await callback(arr[i], i, arr); await callback(arr[i], i, arr);
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter