fix: eslint errors

This commit is contained in:
2023-05-25 11:12:08 +01:00
parent f684658183
commit 9bfb6ede0a
11 changed files with 14 additions and 17 deletions

View File

@ -21,13 +21,12 @@ export interface ZapPoolRecipient {
}
class ZapPool extends ExternalStore<Array<ZapPoolRecipient>> {
#store: Map<string, ZapPoolRecipient>;
#store = new Map<string, ZapPoolRecipient>();
#isPayoutInProgress = false;
#lastPayout: number = 0;
#lastPayout = 0;
constructor() {
super();
this.#store = new Map();
this.#load();
setTimeout(() => this.#autoPayout().catch(console.error), 5_000);
}