Add toDate() sanitizer (#8871)

This commit is contained in:
Matthias
2016-04-12 21:52:33 +09:00
committed by Masahiro Wakame
parent d3407b5a41
commit 38d211956d
+6
View File
@@ -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;
/**