Skip to content

Commit

Permalink
check: fix TS syntax error (#673)
Browse files Browse the repository at this point in the history
Typescript compiler was failing with:

` node_modules/express-validator/check/check.d.ts:69:58 - error TS1005: ';' expected.`

This adds the missing semicolon.
  • Loading branch information
Jesse Bunch authored and gustavohenke committed Dec 23, 2018
1 parent 61a36f5 commit 42689b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check/check.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface Validator {
isISO8601(): this;
isISRC(): this;
isISBN(version?: number): this;
isISSN(options?: ValidatorOptions.IsISSNOptions): this
isISSN(options?: ValidatorOptions.IsISSNOptions): this;
isJSON(): this;
isLatLong(): this;
isLength(options: ValidatorOptions.MinMaxOptions): this;
Expand Down Expand Up @@ -240,4 +240,4 @@ export namespace ValidatorOptions {
checkNull?: boolean;
checkFalsy?: boolean;
}
}
}

0 comments on commit 42689b5

Please sign in to comment.