abstract-syntax-tree icon indicating copy to clipboard operation
abstract-syntax-tree copied to clipboard

Typescript types?

Open theoparis opened this issue 4 years ago • 1 comments

I got this warning in typescript:

Could not find a declaration file for module 'abstract-syntax-tree'. '/home/theo/dev/nbind/node_modules/.pnpm/[email protected]/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....

theoparis avatar Aug 09 '21 00:08 theoparis

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

Thanks!

emilos avatar Aug 09 '21 06:08 emilos