Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dachev committed Aug 10, 2022
2 parents 1559b38 + db3094a commit 0a2f45a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Chunk {
readonly bytes: number;
}
interface Options {
readonly isHTML: false;
readonly isHTML: boolean;
readonly languageHint: string;
readonly encodingHint: string;
readonly tldHint: string;
Expand All @@ -28,4 +28,4 @@ export declare module 'cld' {
declare function detect(text: string, callback: (err: string, result: DetectLanguage) => void): void;
declare function detect(text: string, options: Options): Promise<DetectLanguage>;
declare function detect(text: string): Promise<DetectLanguage>;
}
}

0 comments on commit 0a2f45a

Please sign in to comment.