/** * @typedef Gemoji * @property {string} emoji * Example: `'😀'`. * @property {Array} names * Example: `['grinning']`. * @property {Array} tags * Example: `['smile', 'happy']`. * @property {string} description * Example: `'grinning face'`. * @property {string} category * Example: `'Smileys & Emotion'`. */ /** * List of gemoji. * * @type {Array} */ export const gemoji: Array /** * Map of names to emoji. * * @type {Record} */ export const nameToEmoji: Record /** * Map of emoji to primary name. * * @type {Record} */ export const emojiToName: Record export type Gemoji = { /** * Example: `'😀'`. */ emoji: string /** * Example: `['grinning']`. */ names: Array /** * Example: `['smile', 'happy']`. */ tags: Array /** * Example: `'grinning face'`. */ description: string /** * Example: `'Smileys & Emotion'`. */ category: string }