Fix build by using ts-ignore

This commit is contained in:
TomatoCake committed 2024-06-28 13:05:03 +02:00
1 parent c135de9c86
commit 0a40776bb3
2 files changed
+2 -1

No files matched your search

+2 -1
View File
@@ -135,7 +135,8 @@ export async function ImageProxy(req: Request, res: Response) {
if (sharp === false && !Jimp) {
try {
// @ts-expect-error Typings don't fit
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore Typings don't fit
Jimp = await import("jimp");
} catch {
sentImageProxyWarning = true;