rrdelaney / ReasonablyTyped

:diamond_shape_with_a_dot_inside: Converts Flow and TypeScript definitions to Reason interfaces
https://rrdelaney.github.io/ReasonablyTyped/
MIT License
518 stars 24 forks source link

Run retyped against node_modules/@types #21

Closed rrdelaney closed 7 years ago

rrdelaney commented 7 years ago

FlowTyped puts all definitions in the flow-typed directory, and we have a CLI flag to run against those files automatically. It would be cool if we could do the same for TypeScript types installed with npm/yarn. These files are dumped in node_modules/@types.

See the CLI code for FlowTyped for more information about how to add this feature. The yargs documentation should also be pretty helpful.

rrdelaney commented 7 years ago

Deprecating this in favor of retypes