1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 02:12:40 +01:00

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 3 additions and 2 deletions

2
package-lock.json generated
View File

@ -30,7 +30,7 @@
"i18next-fs-backend": "^2.1.5",
"i18next-http-middleware": "^3.3.2",
"image-size": "^1.0.2",
"jimp": "*",
"jimp": "^0.22.12",
"json-bigint": "^1.0.0",
"jsonwebtoken": "^9.0.1",
"lambert-server": "^1.2.12",

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;