essa.jpeg

This commit is contained in:
2022-12-30 12:15:49 +01:00
parent 47abbbc0a7
commit 1f22aa4061
18 changed files with 420 additions and 37 deletions

View File

@@ -0,0 +1,22 @@
class MemberCount {
current: number | null = null;
previous: number | null = null;
// "previous" is only used for reporting checks
// inside the ready.ts event
incrementCurrent() {
if (this.current) this.current++;
}
decrementCurrent() {
if (this.current) this.current--;
}
setCurrent(input: number | null) {
this.current = input;
}
setPrevious(input: number | null) {
this.previous = input;
}
}
export { MemberCount };