mockdeep / typewiz

Automatically discover and add missing types in your TypeScript code
https://medium.com/@urish/manual-typing-is-no-fun-introducing-typewiz-58e3e8813f4c
1.1k stars 46 forks source link

Ideas: Get improved types to existing TS project, Generate d.ts for project #74

Closed qballer closed 6 years ago

qballer commented 6 years ago

I have a couple of ideas (questions ?)

Lets say I have a typescript project which I want to improve it's existing types. Is there a way to run typewiz in a fashion which will output a list of suggestions for better types? and I will be able to apply them if I want.

Lets say I have an existing project and all I want is to generate a d.ts file for it. Typewiz seems like a project which can do that. What do you think?

urish commented 6 years ago

Hi @qballer , regarding the first question, see #30, I think it pretty much covers the same request.

Regarding the second question - there is a different project called dts-gen that pretty much aims to solve this problem, though I definitely see how the technology used by TypeWiz can help here. If you wish to try and prototype something, I can offer my guidance

qballer commented 6 years ago

Sounds really interesting but I lack time to do it. Thanks for you comments.