Skip to content

Commit

Permalink
fix docs imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Sep 28, 2024
1 parent c943994 commit b6b0e41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/content/docs/guides/browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ There are a few main ways to use Jimp in the browser.
You can initialize a Jimp instance from a URL or a file path.

```ts
import Jimp from "jimp";
import { Jimp } from "jimp";

// Read a file hosted on the same domain
const image1 = await Jimp.read("/some/url");
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/content/docs/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The workflow for using jimp
1. Load an image.

```ts
import Jimp from "jimp";
import { Jimp } from "jimp";

const image = await Jimp.read("test/image.png");
```
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Load an image, manipulate it, and save it.
1. Load an image.

```ts
import Jimp from "jimp";
import { Jimp } from "jimp";

const image = await Jimp.read("test/image.png");
```
Expand Down

0 comments on commit b6b0e41

Please sign in to comment.