From 63e867ca7c814d219a2043e13aa3b10144c94852 Mon Sep 17 00:00:00 2001 From: FruitRiin Date: Sat, 16 Dec 2023 20:18:26 +0900 Subject: [PATCH] fix lint --- packages/frontend/src/components/MkPostForm.vue | 2 -- packages/frontend/src/components/MkVisibilityPicker.vue | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 9cbd79d75a..faebce637d 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -128,8 +128,6 @@ import { emojiPicker } from '@/scripts/emoji-picker.js'; const modal = inject('modal'); - - const props = withDefaults(defineProps<{ reply?: Misskey.entities.Note; renote?: Misskey.entities.Note; diff --git a/packages/frontend/src/components/MkVisibilityPicker.vue b/packages/frontend/src/components/MkVisibilityPicker.vue index d8afd73214..d37f76942a 100644 --- a/packages/frontend/src/components/MkVisibilityPicker.vue +++ b/packages/frontend/src/components/MkVisibilityPicker.vue @@ -66,7 +66,7 @@ const props = withDefaults(defineProps<{ const emit = defineEmits<{ (ev: 'changeVisibility', v: typeof Misskey.noteVisibilities[number]): void; - (ev: 'changeChannel', v: Channel) : void + (ev: 'changeChannel', v: Misskey.entities.Channel) : void (ev: 'closed'): void; }>();