Please, add typescript types definitions to this module #3
Labels
☂️ area/types
This affects typings
good first issue 👋
This may be a great place to get started!
🙆 yes/confirmed
This is confirmed and ready to be worked on
Problem
I'm using this lib with TypeScript and the TS compiler complains about the lack of typings:
Solution
Create a
types/index.d.ts
file pretty much like strip-markdown, and update thefiles
field of yourpackage.json
.I think that the following will be enough:
The text was updated successfully, but these errors were encountered: