Skip to content

Commit

Permalink
validator: update options for normalizeEmail()
Browse files Browse the repository at this point in the history
  • Loading branch information
builtinnya committed Feb 20, 2018
1 parent 4958f3e commit f27bed9
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions types/validator/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,17 @@ declare namespace ValidatorJS {

// options for normalizeEmail
interface NormalizeEmailOptions {
lowercase?: boolean;
remove_dots?: boolean;
remove_extension?: boolean;
all_lowercase?: boolean;
gmail_lowercase?: boolean;
gmail_remove_dots?: boolean;
gmail_remove_subaddress?: boolean;
gmail_convert_googlemaildotcom?: boolean;
outlookdotcom_lowercase?: boolean;
outlookdotcom_remove_subaddress?: boolean;
yahoo_lowercase?: boolean;
yahoo_remove_subaddress?: boolean;
icloud_lowercase?: boolean;
icloud_remove_subaddress?: boolean;
}
}

Expand Down

0 comments on commit f27bed9

Please sign in to comment.