DEV Community

Discussion on: 💡🤔 Early Thoughts on TypeScript

Collapse
 
quintisimo profile image
Quintus Cardozo

The way I like to do it is to get the code working with inferred types and then slowly start adding type declarations to inferred any to fixing any errors that show up.

Typescript is also good if your working with API. You can convert a JSON response to a interface using a website or vscode plugin and then have full typing for the API in you editor