WIP: Add user interface

This commit is contained in:
syuilo 2017-02-28 23:56:20 +09:00
parent ffec932cb7
commit f9aa38ee49

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