diff --git a/lib/api.ts b/lib/api.ts index 47e1506..187282a 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -16,7 +16,7 @@ import { _ } from "./i18n"; const MAX_BATCH = 10000; -export const API = new class API { +export const API = new class APIImpl { async filter(arr: any, type: number) { return await (await filters()).filterItemsByType(arr, type); }