Improve type

This commit is contained in:
syuilo 2021-07-17 15:43:07 +09:00
parent 55e5c12441
commit 6d1d7b5366

View file

@ -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');