Update user.ts

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

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);
}
}