chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-08-13 23:06:38 +02:00
parent 9cd7ad597d
commit 69ab755f29
520 changed files with 16616 additions and 13483 deletions

View file

@ -1784,7 +1784,6 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
return href
}
public static sum(list: number[]): number {
let total = 0
for (const number of list) {
@ -1799,7 +1798,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
* Utils.reorder("test", []) // => "test"
*/
public static reorder<T extends object>(object: T, order: ReadonlyArray<string>): T {
if(typeof object !== "object"){
if (typeof object !== "object") {
return object
}
const allKeys = new Set<string>(Object.keys(object))
@ -1813,5 +1812,4 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
}
return <T>copy
}
}