From d51d7bd8acf232a5a718ee16e7d6970896e489f4 Mon Sep 17 00:00:00 2001 From: Charles Francoise Date: Mon, 25 Nov 2019 10:22:13 +0100 Subject: [PATCH] update types --- src/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 364e618..50bb3a7 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -32,7 +32,8 @@ declare namespace Tesseract { cacheMethod: string workerBlobURL: boolean gzip: boolean - logger: (arg: any) => void + logger: (arg: any) => void, + errorHandler: (arg: any) => void } interface WorkerParams { tessedit_ocr_engine_mode: OEM