If we can locate the source (either by having the user specify as an additional argument, or grokking node modules ourselves), we can try to line up the function and property jsdoc comments by name and re-attach them in the .d.ts, as well as put in inferred types.
If we can locate the source (either by having the user specify as an additional argument, or grokking node modules ourselves), we can try to line up the function and property jsdoc comments by name and re-attach them in the .d.ts, as well as put in inferred types.