Skip to content

Commit

Permalink
Updated types to support all parameters per #831 (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
Balearica authored Oct 24, 2023
1 parent cd46c00 commit 680d2e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,15 @@ 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
tessjs_create_tsv: string
tessjs_create_box: string
tessjs_create_unlv: string
tessjs_create_osd: string
[propName: string]: any
}
interface OutputFormats {
text: boolean;
Expand Down

0 comments on commit 680d2e4

Please sign in to comment.