diff --git a/README.md b/README.md index f635325..be0167a 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ If you are looking for the unicode emoji dataset, including version, grouping, o ## Migrating from 2.x - Previously: ```js diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..c986974 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,3 @@ +declare const Emojilib: Record + +export default Emojilib diff --git a/package.json b/package.json index 38aab87..31240d0 100644 --- a/package.json +++ b/package.json @@ -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" ],