email-misspelled
Advanced tools
Comparing version 3.2.1 to 3.2.2
export declare type DomainList = string[]; | ||
export declare type Result = { | ||
export interface Result { | ||
/** Suggested domain */ | ||
@@ -11,6 +11,14 @@ suggest: string; | ||
original: string; | ||
}; | ||
} | ||
export interface EmailMisspelled { | ||
(email: string): Result[]; | ||
} | ||
export interface EmailMisspelledConfig { | ||
/** Maximum length difference between strings; Default: 2 */ | ||
lengthDiffMax?: number; | ||
/** Number of misspelled error allowed; Default: 2 */ | ||
maxMisspelled?: number; | ||
/** List of email domain to compare */ | ||
domains: string[]; | ||
} | ||
export interface EmailMisspelledConstructor { | ||
@@ -17,0 +25,0 @@ (config: { |
@@ -86,3 +86,3 @@ { | ||
}, | ||
"version": "3.2.1" | ||
"version": "3.2.2" | ||
} |
export declare type DomainList = string[]; | ||
export declare type Result = { | ||
export interface Result { | ||
/** Suggested domain */ | ||
@@ -11,6 +11,14 @@ suggest: string; | ||
original: string; | ||
}; | ||
} | ||
export interface EmailMisspelled { | ||
(email: string): Result[]; | ||
} | ||
export interface EmailMisspelledConfig { | ||
/** Maximum length difference between strings; Default: 2 */ | ||
lengthDiffMax?: number; | ||
/** Number of misspelled error allowed; Default: 2 */ | ||
maxMisspelled?: number; | ||
/** List of email domain to compare */ | ||
domains: string[]; | ||
} | ||
export interface EmailMisspelledConstructor { | ||
@@ -17,0 +25,0 @@ (config: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47745
514