summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2023-12-14 12:26:02 +0900
committerGitHub <noreply@github.com>2023-12-14 12:26:02 +0900
commit5cee481083262d08ddc79eff78c6f23667c48ecc (patch)
tree9d2a1d154c9e1658f0b24654ac97543c4f01ee5a /packages
parentfix swcrc (diff)
downloadmisskey-5cee481083262d08ddc79eff78c6f23667c48ecc.tar.gz
misskey-5cee481083262d08ddc79eff78c6f23667c48ecc.tar.bz2
misskey-5cee481083262d08ddc79eff78c6f23667c48ecc.zip
refactor(frontend) $i の型情報にtokenを追加 (#12649)
Diffstat (limited to 'packages')
-rw-r--r--packages/frontend/src/account.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/account.ts b/packages/frontend/src/account.ts
index a6af298024..f23fb804c5 100644
--- a/packages/frontend/src/account.ts
+++ b/packages/frontend/src/account.ts
@@ -16,7 +16,7 @@ import { unisonReload, reloadChannel } from '@/scripts/unison-reload.js';
// TODO: 他のタブと永続化されたstateを同期
-type Account = Misskey.entities.MeDetailed;
+type Account = Misskey.entities.MeDetailed & { token: string };
const accountData = miLocalStorage.getItem('account');