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`