Skip to content

Commit

Permalink
Merge pull request #73 from dimip1606/bugfix/typescript-optional-prop…
Browse files Browse the repository at this point in the history
…erties

index.d.ts: make Options properties optional
  • Loading branch information
dachev authored Aug 11, 2022
2 parents 5edbd78 + bcd5154 commit a1586a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ interface Chunk {
readonly bytes: number;
}
interface Options {
readonly isHTML: boolean;
readonly languageHint: string;
readonly encodingHint: string;
readonly tldHint: string;
readonly httpHint: string;
readonly isHTML?: boolean;
readonly languageHint?: string;
readonly encodingHint?: string;
readonly tldHint?: string;
readonly httpHint?: string;
}
interface DetectLanguage {
readonly reliable: boolean;
Expand Down

0 comments on commit a1586a5

Please sign in to comment.