Skip to content

Commit

Permalink
fix: fix type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpalma committed Jul 4, 2020
1 parent 3173338 commit 10e0b3c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.d.ts
Expand Up @@ -9,33 +9,33 @@ declare module "react-native-tesseract-ocr" {
| "bul"
| "chi_sim"
| "chi_tra"
| "hrv"
| "custom"
| "dan"
| "deu"
| "eng"
| "est"
| "fas"
| "fra"
| "gle"
| "glg"
| "deu"
| "heb"
| "hrv"
| "hun"
| "isl"
| "ind"
| "gle"
| "isl"
| "ita"
| "jpn"
| "kor"
| "lat"
| "lit"
| "nep"
| "nor"
| "fas"
| "pol"
| "por"
| "rus"
| "srp"
| "slk"
| "spa"
| "srp"
| "swe"
| "tur"
| "ukr"
Expand All @@ -49,7 +49,7 @@ declare module "react-native-tesseract-ocr" {
export interface ITesseractOcrModule {
clear(): void;
recognize(path: string, lang: Lang, options?: Options): Promise<string>;
stop(): void;
stop(): Promise<string>;
}

const TesseractOcr: ITesseractOcrModule;
Expand Down

0 comments on commit 10e0b3c

Please sign in to comment.