mathiasbynens / emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.
https://mths.be/emoji-regex
MIT License
1.73k stars 174 forks source link

Fix types so that they are in published package #51

Closed henrikra closed 5 years ago

henrikra commented 5 years ago

We don't need to speficy types key in package.json according to this: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

mathiasbynens commented 5 years ago

Per that link:

you do not need to mark the "types" property, though it is advisable to do so.

Let’s be explicit and keep the types property in package.json.

henrikra commented 5 years ago

Done

mathiasbynens commented 5 years ago

…and published!

henrikra commented 5 years ago

Just tried 7.0.3 and it works!