Last active
March 5, 2016 13:01
-
-
Save andevsoftware/4cb32c99392de54e02e2 to your computer and use it in GitHub Desktop.
TSValidate.Validators.Url
This file contains 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 Url = TSValidate.Validators.Url; | |
validator.add('url', new Url() | |
.message(':field must be a url') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment