aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/sharp-shim.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/sharp-shim.ts b/src/util/sharp-shim.ts
index 7ea409d..a9f145e 100644
--- a/src/util/sharp-shim.ts
+++ b/src/util/sharp-shim.ts
@@ -23,8 +23,8 @@ export type SharpLoad =
export const loadSharp = async (): Promise<SharpLoad> => {
let mod: unknown;
try {
- // sharp is an optional peer dependency; it may not be installed.
- // @ts-expect-error sharp is an optional peer dependency not required at compile time
+ // sharp is an optional dependency; it may not be installed.
+ // @ts-ignore — optional peer dependency not required at compile time
mod = await import("sharp");
} catch (e) {
const msg = e instanceof Error ? e.message : String(e);