Skip to content

Commit edb682f

Browse files
committed
Merge pull request DefinitelyTyped#5955 from pocesar/mailcheck
update Mailcheck
2 parents 5357fe2 + 63e8414 commit edb682f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

mailcheck/mailcheck-tests.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ var superStringDistance = function(string1: string, string2: string): number {
1414

1515
$('#email').on('blur', function() {
1616
$(this).mailcheck({
17+
1718
domains: domains, // optional
1819
secondLevelDomains: secondLevelDomains, // optional
1920
topLevelDomains: topLevelDomains, // optional
@@ -28,6 +29,7 @@ $('#email').on('blur', function() {
2829
});
2930

3031
Mailcheck.run({
32+
3133
domains: domains, // optional
3234
secondLevelDomains: secondLevelDomains, // optional
3335
topLevelDomains: topLevelDomains, // optional
@@ -41,6 +43,7 @@ Mailcheck.run({
4143
});
4244

4345
MC.run({
46+
4447
domains: domains, // optional
4548
secondLevelDomains: secondLevelDomains, // optional
4649
topLevelDomains: topLevelDomains, // optional

mailcheck/mailcheck.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ declare module MailcheckModule {
4646
}
4747

4848
export interface IOptions {
49+
email: string;
4950
domains?: string[];
5051
secondLevelDomains?: string[];
5152
topLevelDomains?: string[];

0 commit comments

Comments
 (0)