summaryrefslogtreecommitdiff
path: root/packages/frontend-embed/src/components/EmNotes.vue
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2025-01-08 21:00:02 +0900
committerGitHub <noreply@github.com>2025-01-08 12:00:02 +0000
commit13439e04c426d48c1700b0fd476dcf453965318a (patch)
treefe14679838f8ea4375bb24cf6a614b5ef93b5d82 /packages/frontend-embed/src/components/EmNotes.vue
parentfeat(frontend): Do not display blocked instances on the welcome page (#15178) (diff)
downloadsharkey-13439e04c426d48c1700b0fd476dcf453965318a.tar.gz
sharkey-13439e04c426d48c1700b0fd476dcf453965318a.tar.bz2
sharkey-13439e04c426d48c1700b0fd476dcf453965318a.zip
fix(frontend-embed): 型チェックエラーを修正 (#15216)
* fix(frontend): frontend / frontend-embedにあるtsconfig.jsonのmoduleをES2022にする * fixed errors * fixed errors * fixed errors * fix(frontend-embed): 型チェックエラーを修正
Diffstat (limited to 'packages/frontend-embed/src/components/EmNotes.vue')
-rw-r--r--packages/frontend-embed/src/components/EmNotes.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend-embed/src/components/EmNotes.vue b/packages/frontend-embed/src/components/EmNotes.vue
index 4211261e19..4e0ae005df 100644
--- a/packages/frontend-embed/src/components/EmNotes.vue
+++ b/packages/frontend-embed/src/components/EmNotes.vue
@@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #default="{ items: notes }">
<div :class="[$style.root]">
- <EmNote v-for="note in notes" :key="note._featuredId_ || note._prId_ || note.id" :class="$style.note" :note="note"/>
+ <EmNote v-for="note in notes" :key="note._featuredId_ || note._prId_ || note.id" :class="$style.note" :note="note as Misskey.entities.Note"/>
</div>
</template>
</EmPagination>
@@ -24,6 +24,7 @@ import { useTemplateRef } from 'vue';
import EmNote from '@/components/EmNote.vue';
import EmPagination, { Paging } from '@/components/EmPagination.vue';
import { i18n } from '@/i18n.js';
+import * as Misskey from 'misskey-js';
withDefaults(defineProps<{
pagination: Paging;