Skip to content

Commit

Permalink
types: Add core types (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
muan authored Sep 30, 2024
2 parents 8d9219f + ba5e1a5 commit 763f0ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
declare const dataByEmoji: Record<
string,
{
name: string;
slug: string;
group: string;
emoji_version: string;
unicode_version: string;
skin_tone_support: boolean;
}
>;

export default dataByEmoji;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.5.0",
"description": "Emoji data from unicode.org as easily consumable JSON files.",
"main": "data-by-emoji.json",
"types": "index.d.ts",
"files": [
"data-by-emoji.json",
"data-by-group.json",
Expand Down

0 comments on commit 763f0ae

Please sign in to comment.