Updated types to support all parameters per #831 (#845)

master
Balearica 11 months ago committed by GitHub
parent cd46c00b04
commit 680d2e4e01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/index.d.ts

2
src/index.d.ts vendored

@ -68,6 +68,7 @@ declare namespace Tesseract {
interface WorkerParams {
tessedit_pageseg_mode: PSM
tessedit_char_whitelist: string
tessedit_char_blacklist: string
preserve_interword_spaces: string
user_defined_dpi: string
tessjs_create_hocr: string
@ -75,6 +76,7 @@ declare namespace Tesseract {
tessjs_create_box: string
tessjs_create_unlv: string
tessjs_create_osd: string
[propName: string]: any
}
interface OutputFormats {
text: boolean;

Loading…
Cancel
Save