From f9aa38ee4914e8a934d6139c59b40265fc07ee58 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 28 Feb 2017 23:56:20 +0900 Subject: [PATCH] WIP: Add user interface --- src/api/models/user.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api/models/user.ts b/src/api/models/user.ts index a9f368077f..5246b7c02f 100644 --- a/src/api/models/user.ts +++ b/src/api/models/user.ts @@ -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; +}