mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add toDate() sanitizer (#8871)
This commit is contained in:
committed by
Masahiro Wakame
parent
d3407b5a41
commit
38d211956d
+6
@@ -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;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user