Last active
March 5, 2016 12:52
-
-
Save andevsoftware/6d1064e2c85b401fb003 to your computer and use it in GitHub Desktop.
TSValidate.Validators.Email
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Email = TSValidate.Validators.Email; | |
validate.add('email', new Email() | |
.message('The e-mail is not valid') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment