fix the rest of warnings

This commit is contained in:
Martti Malmi
2024-01-10 20:16:30 +02:00
parent e6a42db658
commit 5baffd00b9
37 changed files with 415 additions and 390 deletions

View File

@ -1,4 +1,4 @@
import {ExternalStore} from "@snort/shared";
import { ExternalStore } from "@snort/shared";
class CommunityLeadersStore extends ExternalStore<Array<string>> {
#leaders: Array<string> = [];
@ -13,4 +13,4 @@ class CommunityLeadersStore extends ExternalStore<Array<string>> {
}
}
export const LeadersStore = new CommunityLeadersStore();
export const LeadersStore = new CommunityLeadersStore();

View File

@ -1,6 +1,6 @@
import {ParsedFragment} from "@snort/system";
import {LRUCache} from "typescript-lru-cache";
import { ParsedFragment } from "@snort/system";
import { LRUCache } from "typescript-lru-cache";
export const TextCache = new LRUCache<string, Array<ParsedFragment>>({
maxSize: 1000
});
maxSize: 1000,
});