Skip to content

Instantly share code, notes, and snippets.

@andevsoftware
Last active March 5, 2016 12:52
Show Gist options
  • Save andevsoftware/6d1064e2c85b401fb003 to your computer and use it in GitHub Desktop.
Save andevsoftware/6d1064e2c85b401fb003 to your computer and use it in GitHub Desktop.
TSValidate.Validators.Email
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