imagekit-developer/imagekit-nodejs

Typescript: overlayImageAspectRatio does not exist in type Transformation

Closed this issue · 1 comments

Issue: overlayImageAspectRatio not found in type for Transformation

const transformationUrl = imageKit.url({
  src: imageUrl,
  transformation: [
    {
      overlayImage,
      overlayWidth,
      overlayHeight,
      overlayImageAspectRatio // causing type error
     },
  ],
});

Fixed in 3.2.0