diff --git a/types/emoji-mart/index.d.ts b/types/emoji-mart/index.d.ts index d6b8d2f174..291e4e7d27 100644 --- a/types/emoji-mart/index.d.ts +++ b/types/emoji-mart/index.d.ts @@ -26,7 +26,7 @@ declare module 'emoji-mart' { } declare module '@emoji-mart/data' { - export type EmojiData = { + interface EmojiData { emojis: { [s: string]: { skins: { unified: string, native: string }[], @@ -34,5 +34,5 @@ declare module '@emoji-mart/data' { } } - export default EmojiData; + export const emojis: Emojidata; }