mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
fixed typescript errors
This commit is contained in:
parent
9a7a038032
commit
fe311e7839
41 changed files with 786 additions and 777 deletions
|
@ -11,7 +11,7 @@ export interface IUser {
|
|||
role: IRoles[keyof IRoles];
|
||||
routes: {};
|
||||
success: boolean;
|
||||
id?: string;
|
||||
id: string;
|
||||
uid: string;
|
||||
token?: string;
|
||||
photo: string;
|
||||
|
@ -31,9 +31,9 @@ export const DEFAULT_USER: IUser = {
|
|||
role: ROLES.guest,
|
||||
routes: {},
|
||||
success: false,
|
||||
id: null,
|
||||
token: null,
|
||||
photo: null,
|
||||
name: null,
|
||||
uid: null,
|
||||
id: '',
|
||||
token: undefined,
|
||||
photo: '',
|
||||
name: '',
|
||||
uid: '',
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue