Update user.ts

This commit is contained in:
syuilo⭐️ 2017-02-22 19:43:10 +09:00 committed by GitHub
parent 0c6b95889e
commit 6bc75a0485

View file

@ -18,4 +18,3 @@ export function validatePassword(password: string): boolean {
export function isValidBirthday(birthday: string): boolean {
return typeof birthday == 'string' && /^([0-9]{4})\-([0-9]{2})-([0-9]{2})$/.test(birthday);
}
}