I am unsure how I feel about TypeScript in general. The promise that it is just js does not resonate well with me. Have a legacy project with amd style js and a lot of custom code? Good luck switching over quickly… The idea of just renaming to .ts does not work in the real world, at least not for me. I believe it is possible I just do not have the time to dig through. The other issue I have it that everything needs a definition file. Most/all are created by the community and this, as always, leads to a bit of churn or incomplete definition files.
So, in order to give it a go, I thought I would write a new piece of a project in Nuxt.js with TypeScript. I used the template found here The template is great and has a bunch of things ready out of the box. The only question that I am left to figure out is the testing story (future post). After getting set up and migrating slowly into the TypeScript waters I think I am sold. At least initially. I will follow up with some of the gotchas I find. Again, the only reason I am able to do this is I can get going with a brand new setup for this portion. Even if I love it I do not have the time to convert anything else… Still worth it?