diff --git a/packages/client/src/components/emoji-picker.vue b/packages/client/src/components/emoji-picker.vue index d1ed1b7c0..1703ed097 100644 --- a/packages/client/src/components/emoji-picker.vue +++ b/packages/client/src/components/emoji-picker.vue @@ -133,7 +133,7 @@ function emojiSearch // discount fuzzy matching pattern const re = new RegExp(query.split(' ').join('.*'), 'i'); const match = (str: string): boolean => !!str && re.test(str); - const aliases = (emoji: foundkey.entities.CustomEmoji|UnicodeEmojiDef): string[] => { + const aliases = (emoji: Type): string[] => { // Custom and Unicode emojis have different fields if ('aliases' in emoji) { return emoji.aliases;