diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-04-02 11:07:16 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-04-02 14:18:00 -0400 |
| commit | 811d8a87eff3d5a58ecc232db1fc09bc24605952 (patch) | |
| tree | 30242b31d1d1c8968e165bbc275a0c763dd5f2c3 | |
| parent | fix weird directory errors when running pnpm under certain versions of powers... (diff) | |
| download | sharkey-811d8a87eff3d5a58ecc232db1fc09bc24605952.tar.gz sharkey-811d8a87eff3d5a58ecc232db1fc09bc24605952.tar.bz2 sharkey-811d8a87eff3d5a58ecc232db1fc09bc24605952.zip | |
fix import errors in MkNotification.vue
| -rw-r--r-- | packages/frontend/src/components/MkNotification.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index d3e49255a7..7bff8cff83 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -194,9 +194,9 @@ SPDX-License-Identifier: AGPL-3.0-only </template> <script lang="ts" setup> -import { Ref, ref, watch } from 'vue'; +import { ref, watch } from 'vue'; import * as Misskey from 'misskey-js'; -import { UserDetailed } from 'misskey-js/autogen/models.js'; +import type { Ref } from 'vue'; import MkReactionIcon from '@/components/MkReactionIcon.vue'; import MkButton from '@/components/MkButton.vue'; import { getNoteSummary } from '@/utility/get-note-summary.js'; @@ -234,7 +234,7 @@ const exportEntityName = { } as const satisfies Record<ExportCompletedNotification['exportedEntity'], string>; const followRequestDone = ref(true); -const userDetailed: Ref<UserDetailed | null> = ref(null); +const userDetailed: Ref<Misskey.entities.UserDetailed | null> = ref(null); // watch() is required because computed() doesn't support async. watch(props, async () => { |