From 12eaae6bbbcc6c6e7a4ceefe3941ec29ff409110 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 3 Oct 2023 00:09:18 +0100 Subject: [PATCH] chore: export `Emoji` as explicit type --- composables/tiptap/suggestion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composables/tiptap/suggestion.ts b/composables/tiptap/suggestion.ts index 0bc9647c..eb648e8c 100644 --- a/composables/tiptap/suggestion.ts +++ b/composables/tiptap/suggestion.ts @@ -11,7 +11,7 @@ import TiptapMentionList from '~/components/tiptap/TiptapMentionList.vue' import TiptapHashtagList from '~/components/tiptap/TiptapHashtagList.vue' import TiptapEmojiList from '~/components/tiptap/TiptapEmojiList.vue' -export { Emoji } +export type { Emoji } export type CustomEmoji = (mastodon.v1.CustomEmoji & { custom: true }) export function isCustomEmoji(emoji: CustomEmoji | Emoji): emoji is CustomEmoji {