WIP: Add user interface

This commit is contained in:
syuilo 2017-02-28 23:56:20 +09:00
parent 850cca224c
commit 378013c2f7

View File

@ -18,3 +18,7 @@ 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);
}
export interface IUser {
name: string;
}