Improve type
This commit is contained in:
parent
55e5c12441
commit
6d1d7b5366
|
@ -8,6 +8,8 @@ import { unisonReload } from '@client/scripts/unison-reload';
|
||||||
type Account = {
|
type Account = {
|
||||||
id: string;
|
id: string;
|
||||||
token: string;
|
token: string;
|
||||||
|
isModerator: boolean;
|
||||||
|
isAdmin: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
const data = localStorage.getItem('account');
|
const data = localStorage.getItem('account');
|
||||||
|
|
Loading…
Reference in New Issue