Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230059

Making friends out of TypeScript and Vue Developers

$
0
0

So I just want to point out…you are spending a lot of time trying to avoid typescript or learn ways to not use. Vs the small amount of time it can take to learn typescript and apply it.

As I state in the blog post, typescript does most of the heavy lifting for you. It’s really good about guessing the kind of types you need to use and only requires you to declare types if you are

  • being too loose why your variables
  • using something very custom

Both of these though are address by using the any type if you don’t want to write your own.

As for Vuex…I linked to a post that shows you how to setup vuex with proper type support and gives you a sample project. It does all the work for you, and I walk through what the types are doing in the blog post.


Viewing all articles
Browse latest Browse all 230059

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>