mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-19 07:19:58 +00:00
chore: export Emoji
as explicit type
This commit is contained in:
parent
e199e02e79
commit
12eaae6bbb
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import TiptapMentionList from '~/components/tiptap/TiptapMentionList.vue'
|
||||||
import TiptapHashtagList from '~/components/tiptap/TiptapHashtagList.vue'
|
import TiptapHashtagList from '~/components/tiptap/TiptapHashtagList.vue'
|
||||||
import TiptapEmojiList from '~/components/tiptap/TiptapEmojiList.vue'
|
import TiptapEmojiList from '~/components/tiptap/TiptapEmojiList.vue'
|
||||||
|
|
||||||
export { Emoji }
|
export type { Emoji }
|
||||||
|
|
||||||
export type CustomEmoji = (mastodon.v1.CustomEmoji & { custom: true })
|
export type CustomEmoji = (mastodon.v1.CustomEmoji & { custom: true })
|
||||||
export function isCustomEmoji(emoji: CustomEmoji | Emoji): emoji is CustomEmoji {
|
export function isCustomEmoji(emoji: CustomEmoji | Emoji): emoji is CustomEmoji {
|
||||||
|
|
Loading…
Reference in a new issue