Oops, forgot to register extension

This commit is contained in:
Rory& 2025-09-28 23:54:35 +02:00
parent 364a98f71a
commit 9458987988

View File

@ -61,3 +61,7 @@ if (!Array.prototype.single)
Array.prototype.single = function <T>(this: T[], filter: (elem: T) => boolean) {
return single(this, filter);
};
if (!Array.prototype.forEachAsync)
Array.prototype.forEachAsync = function <T>(this: T[], callback: (elem: T, index: number, array: T[]) => Promise<void>) {
return forEachAsync(this, callback);
};