mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-15 09:15:40 +00:00
Fix build by using ts-ignore
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user