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

Typescript types? #107

Open
theoparis opened this issue Aug 9, 2021 · 1 comment
Open

Typescript types? #107

theoparis opened this issue Aug 9, 2021 · 1 comment

Comments

@theoparis
Copy link

theoparis commented Aug 9, 2021

I got this warning in typescript:

Could not find a declaration file for module 'abstract-syntax-tree'. '/home/theo/dev/nbind/node_modules/.pnpm/abstract-syntax-tree@2.20.0/node_modules/abstract-syntax-tree/index.js' implicitly has an 'any' type.

You could have typescript generate types for you, but this isn't the best way to do it since your code isnt documented with @type annotations with jsdocs....

@emilos
Copy link
Contributor

emilos commented Aug 9, 2021

@creepinson a PR with jsdoc documentation/annotations would be highly appreciated if you'd like to solve this problem.

Thanks!

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

No branches or pull requests

2 participants