Skip to content

Commit

Permalink
chore: export Emoji as explicit type
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 2, 2023
1 parent e199e02 commit 12eaae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/tiptap/suggestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 12eaae6

Please sign in to comment.