From 60ced949efbd58563a73febc5e1c9a0203055208 Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi <62933155+2002Bishwajeet@users.noreply.github.com> Date: Thu, 27 Mar 2025 23:58:48 +0530 Subject: [PATCH] chore(fix): small typo in doc --- packages/docs/src/content/docs/guides/migrate-to-v1.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/content/docs/guides/migrate-to-v1.mdx b/packages/docs/src/content/docs/guides/migrate-to-v1.mdx index 984b174c..04340f50 100644 --- a/packages/docs/src/content/docs/guides/migrate-to-v1.mdx +++ b/packages/docs/src/content/docs/guides/migrate-to-v1.mdx @@ -67,7 +67,7 @@ const image = new Jimp({ width: 100, height: 100, color: 0xff0000ff }); ### `Jimp.read` In v0 of jimp the constructor was async! -This is a huge anit-pattern so it had to go. +This is a huge anti-pattern so it had to go. Now you should instead use the `Jimp.read` method. @@ -181,4 +181,4 @@ JimpMime.jpeg; - `Jimp.intToRGBA` was moved `import { intToRGBA } from "jimp";` - `image.getHeight()` was moved `image.height` - `image.getWidth()` was moved `image.width` -- `image.getMIME()` was moved `image.mime` \ No newline at end of file +- `image.getMIME()` was moved `image.mime`