mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Add toDate() sanitizer (#8871)
This commit is contained in:
1 parent
d3407b5a41
commit
38d211956d
1 file changed
+6
+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