fix: express5

This commit is contained in:
SamTV12345 2025-04-29 19:44:56 +02:00
parent 6208a04556
commit 6db14baee7
26 changed files with 200 additions and 207 deletions

View file

@ -57,7 +57,7 @@ const globalPads:MapArrayType<any> = {
*
* Updated without db access as new pads are created/old ones removed.
*/
const padList = new class {
const padList = new (class {
private _cachedList: string[] | null;
private _list: Set<string>;
private _loaded: Promise<void> | null;
@ -95,7 +95,7 @@ const padList = new class {
this._list.delete(name);
this._cachedList = null;
}
}();
})();
// initialises the all-knowing data structure