Skip to content

Commit

Permalink
types: Add basic types (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Mar 22, 2024
2 parents c114eed + e395a5e commit 28cffb5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ If you are looking for the unicode emoji dataset, including version, grouping, o

## Migrating from 2.x


Previously:

```js
Expand Down
3 changes: 3 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare const Emojilib: Record<string, string[]>

export default Emojilib
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": "3.0.11",
"description": "Emoji keyword library.",
"main": "dist/emoji-en-US.json",
"types": "dist/index.d.ts",
"files": [
"dist"
],
Expand Down

0 comments on commit 28cffb5

Please sign in to comment.