From b4169acc1931de6b4382b87482e6223aba37bcf2 Mon Sep 17 00:00:00 2001 From: Tony Sullivan Date: Fri, 8 Jul 2022 20:32:09 +0000 Subject: [PATCH] Update packages/integrations/image/src/get-image.ts Co-authored-by: Nate Moore --- packages/integrations/image/src/get-image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/image/src/get-image.ts b/packages/integrations/image/src/get-image.ts index fe8d35df6bd5..309e921549e3 100644 --- a/packages/integrations/image/src/get-image.ts +++ b/packages/integrations/image/src/get-image.ts @@ -28,7 +28,7 @@ function resolveSize(transform: TransformOptions): TransformOptions { aspectRatio = transform.aspectRatio; } else { const [width, height] = transform.aspectRatio.split(':'); - aspectRatio = parseInt(width) / parseInt(height); + aspectRatio = Number.parseInt(width) / Number.parseInt(height); } if (transform.width) {