From baa06dc08bb1b016541ebf5d438fd650f5c1b626 Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Thu, 21 Sep 2023 09:19:57 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ryan McCue --- src/lib.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib.ts b/src/lib.ts index bbed8d5..7468fb7 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -116,7 +116,12 @@ function applyZoomCompression( defaultValue: number, zoom: number ): number { return clamp( value, min, defaultValue ); } -type ResizeBufferResult = { data: Buffer; info: sharp.OutputInfo & { errors: string } }; +type ResizeBufferResult = { + data: Buffer; + info: sharp.OutputInfo & { + errors: string; + } +}; /** * Resize a buffer of an image.