words / wordnet

Node module wrapper for WordNet dictionary.
50 stars 14 forks source link

Added Type Declarations for TypeScript Support and Better IntelliSense #10

Open JeffMII opened 2 years ago

JeffMII commented 2 years ago

With the help of @joelyjoel 's issue, I added type declarations to the project. The majority of the work was done by @joelyjoel . It was just a matter of updating it to match the current version of the project and adding a couple of small improvements to make the IntelliSense work great with the Definition object that's returned from the lookup method.

JeffMII commented 2 years ago

Looks like I did a few things wrong. Don't need some of the files and the package.json needs to define where the type declarations can be found. Pushed the fixes. I'll open the pull request again.

sergi-s commented 2 months ago

can I ask why none merged this PR?, it is very useful