Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing .d.ts (typescript support) #16

Open
akshay-nm opened this issue May 17, 2021 · 3 comments · May be fixed by #17
Open

Missing .d.ts (typescript support) #16

akshay-nm opened this issue May 17, 2021 · 3 comments · May be fixed by #17

Comments

@akshay-nm
Copy link

I am receiving:

Could not find a declaration file for module 'monkeylearn'. 'FILE_IN_WHICH_I_AM_USING_MONKEYLEARN' implicitly has an 'any' type.
  Try `npm i --save-dev @types/monkeylearn` if it exists or add a new declaration (.d.ts) file containing `declare module 'monkeylearn';`ts(7016)
@akshay-nm akshay-nm changed the title Missing .d.ts Missing .d.ts (typescript support) May 17, 2021
@LaurenceNairne
Copy link

@akshay-nm I'm going to say you'll be waiting a while - there's been no active dev on this package since 2019. I'm half tempted to have a go at porting to typescript myself given the time.

@akshay-nm akshay-nm linked a pull request Jul 1, 2021 that will close this issue
@akshay-nm
Copy link
Author

@LaurenceNairne I've added generated types and raised a PR for the same.

@LaurenceNairne
Copy link

LaurenceNairne commented Jul 1, 2021

It might me worth forking and keeping your own version with the types. I doubt it will diverge much from this repo, given that it's been inactive for two years!

If you do, point me to it 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants