Fix build by using ts-ignore
This commit is contained in:
parent
c135de9c86
commit
0a40776bb3
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