WIP: Add user interface
This commit is contained in:
parent
ffec932cb7
commit
f9aa38ee49
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user