microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 101 forks source link

Working with a frontend codebase #123

Open wgottschalk opened 5 years ago

wgottschalk commented 5 years ago

What I would like to do is run this tool on a react codebase in order to either:

  1. get type information about the app or
  2. generate the types for each of the functions, components, reducers etc. for a particular code path

It doesn't seem like I can get that kind of browser support out of the box. How can I adapt this tool to match what I'm trying to do?