Skip to content

Commit

Permalink
Merge pull request #58 from leafac/patch-1
Browse files Browse the repository at this point in the history
Fix types for .name field
  • Loading branch information
jackbearheart authored Apr 3, 2021
2 parents 7e077e9 + 45e1fe4 commit 5d98276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/email-addresses.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ declare module emailAddresses {
interface ParsedMailbox {
node?: ASTNode;
parts: {
name: ASTNode;
name: ASTNode | null;
address: ASTNode;
local: ASTNode;
domain: ASTNode;
comments: ASTNode[];
};
type: "mailbox";
name: string;
name: string | null;
address: string;
local: string;
domain: string;
Expand Down

0 comments on commit 5d98276

Please sign in to comment.