Skip to content

Commit b8c6180

Browse files
Update definition for "express-validator": add "isMACAddress" function.
1 parent 784857f commit b8c6180

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

express-validator/express-validator.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,14 @@ declare module ExpressValidator {
6666
* Accepts http, https, ftp
6767
*/
6868
isUrl(): Validator;
69+
6970
/**
7071
* Combines isIPv4 and isIPv6
7172
*/
7273
isIP(): Validator;
7374
isIPv4(): Validator;
7475
isIPv6(): Validator;
76+
isMACAddress(): Validator;
7577
isAlpha(): Validator;
7678
isAlphanumeric(): Validator;
7779
isNumeric(): Validator;

0 commit comments

Comments
 (0)