refactor(frontend) $i の型情報にtokenを追加 (#12649)

This commit is contained in:
おさむのひと 2023-12-14 12:26:02 +09:00 committed by GitHub
parent 2cfe64e9e6
commit 5cee481083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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