mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 07:03:08 +02:00
Improve type
This commit is contained in:
parent
55e5c12441
commit
6d1d7b5366
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue