Skip to main content

Type Alias: EmojiMatch

EmojiMatch: Readonly<object>

The location of the emoji match in the given text

Type declaration

emoji

emoji: string

The text of the emoji from the database, such as "🤦‍♂️" or "🙂"

position

position: number

The start position of the text

shortcode

shortcode: string

The matching shortcode from the text, such as ":man-facepalming:" or ":)"

Defined in

findEmoji.ts:14