Fix build by using ts-ignore

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

BIN
package-lock.json generated

Binary file not shown.

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;