From 378013c2f7a8b3009ef886157cc04f49a3b052d5 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 a9f368077..5246b7c02 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; +}