Skip to content

Commit

Permalink
Fixing spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-danton committed Apr 21, 2015
1 parent e3dba2f commit a00d357
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions express-validator/express-validator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare module "express-validator" {
}

interface ValidatorFunction { (item: string, message: string): Validator; }
interface SanatizerFunction { (item: string): Sanitizer; }
interface SanitizerFunction { (item: string): Sanitizer; }
interface Dictionary<T> { [key: string]: T; }

export interface RequestValidation {
Expand All @@ -29,8 +29,8 @@ declare module "express-validator" {
checkQuery: ValidatorFunction;
validate: ValidatorFunction;

filter: SanatizerFunction;
sanitize: SanatizerFunction;
filter: SanitizerFunction;
sanitize: SanitizerFunction;

onValidationError(errback: (msg: string) => void): void;
validationErrors(mapped?: boolean): Dictionary<any> | any[];
Expand Down

0 comments on commit a00d357

Please sign in to comment.