fix: some type errors
All checks were successful
Deploy to SFTP Server / build (push) Successful in 6m19s
All checks were successful
Deploy to SFTP Server / build (push) Successful in 6m19s
This commit is contained in:
@@ -22,6 +22,7 @@ if (hash) {
|
||||
const smallWidth = Math.floor(image.width * scaleFactor);
|
||||
const smallHeight = Math.floor(image.height * scaleFactor);
|
||||
|
||||
//@ts-ignore
|
||||
const smallImg = await sharp(image.fsPath)
|
||||
.resize(smallWidth, smallHeight)
|
||||
.withMetadata()
|
||||
|
Reference in New Issue
Block a user