Skip to content

Commit 72afa3d

Browse files
IgorAufrichtIgor Aufricht
and
Igor Aufricht
authored
Remove ImageData from ImageLike (#971)
Co-authored-by: Igor Aufricht <[email protected]>
1 parent c75a380 commit 72afa3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ declare namespace Tesseract {
147147
BINARY = 2
148148
}
149149
type ImageLike = string | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement
150-
| CanvasRenderingContext2D | File | Blob | ImageData | Buffer | OffscreenCanvas;
150+
| CanvasRenderingContext2D | File | Blob | Buffer | OffscreenCanvas;
151151
interface Block {
152152
paragraphs: Paragraph[];
153153
text: string;

0 commit comments

Comments
 (0)