From 5cee481083262d08ddc79eff78c6f23667c48ecc Mon Sep 17 00:00:00 2001 From: おさむのひと <46447427+samunohito@users.noreply.github.com> Date: Thu, 14 Dec 2023 12:26:02 +0900 Subject: refactor(frontend) $i の型情報にtokenを追加 (#12649) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/frontend/src') 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'); -- cgit v1.2.3-freya