mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 22:35:40 +00:00
Fix build by using ts-ignore
This commit is contained in:
BIN
package-lock.json
generated
BIN
package-lock.json
generated
Binary file not shown.
@@ -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