Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Oct 1, 2021
1 parent 962e439 commit 04bc889
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ declare module "node-email-reply-parser" {
* Default false.
*/
aggressive?: boolean;
} = {}): string;
}): string;
}
const replyParser: (emailContent: string) => Email;
type ReplyParserRegular = (emailContent: string) => Email;
type ReplyParserVisibleTextOnly = (emailContent: string, visibleTextOnly: true) => string;
const replyParser: ReplyParserRegular & ReplyParserVisibleTextOnly;
export = replyParser;
}

0 comments on commit 04bc889

Please sign in to comment.