Skip to content

Commit f4db1f0

Browse files
committed
docs: add more text about ts support
1 parent f2a7939 commit f4db1f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

blog/release.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const sobelX = img.derivative({ filter: 'sobel' });
7272
const sobelY = img.derivative({ filter: 'scharr' });
7373
```
7474

75-
This filter also now accepts only grayscale images, since filters like Sobel or Scharr are used mainly on grayscale images to detect edges.
75+
This filter now also accepts only grayscale images, since filters,like Sobel or Scharr, are used mainly on grayscale images to detect edges.
7676

7777
### Enhanced TypeScript Support
7878

@@ -86,6 +86,8 @@ const pixel = img.getPixel(x, y); // any[]
8686
const pixel = img.getPixel(x, y); // number[] with proper channel count
8787
```
8888

89+
This eliminates runtime type errors and provides better IntelliSense, autocomplete, and refactoring support in your IDE. Developers can now catch bugs at compile time rather than discovering them in production.
90+
8991
### Method Renaming
9092

9193
Several methods have been renamed for consistency:

0 commit comments

Comments
 (0)