Skip to content

Commit

Permalink
Fix build by using ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
DEVTomatoCake committed Jun 28, 2024
1 parent c135de9 commit 0a40776
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/api/middlewares/ImageProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0a40776

Please sign in to comment.