Skip to content

Commit

Permalink
Add toDate() sanitizer (#8871)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakam authored and vvakame committed Apr 12, 2016
1 parent d3407b5 commit 38d2119
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions express-validator/express-validator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ declare namespace ExpressValidator {
/**
* Decode HTML entities
*/

/**
* Convert the input string to a date, or null if the input is not a date.
*/
toDate(): Sanitizer;

entityDecode(): Sanitizer;
entityEncode(): Sanitizer;
/**
Expand Down

0 comments on commit 38d2119

Please sign in to comment.