all repos — sz-chrome-remote-cdp @ ff4859236e2de4844d5231768f57cbfbe3f937e1

pi-browser-harness, patched to drive a Chrome on another host over CDP, with castle_cdp_search web search

fix: replace @ts-expect-error with @ts-ignore for dynamic sharp import
amankumarsingh77 amankumarsingh7702@gmal.com
Sat, 02 May 2026 22:15:41 +0530
commit

ff4859236e2de4844d5231768f57cbfbe3f937e1

parent

167c50de84076a9605e2685a99f202818c224ebe

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/util/sharp-shim.ts → src/util/sharp-shim.ts

@@ -23,8 +23,8 @@

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);