Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan McCue <me@ryanmccue.info>
  • Loading branch information
joehoyle and rmccue authored Sep 21, 2023
1 parent eb59e4c commit baa06dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit baa06dc

Please sign in to comment.