Like my content? Sign up to get occasional emails about new blog posts and other content. EmailSubmit Unsubscribe anytime here.Writing A Type Safe Store In this article we explore some advanced TypeScript while building a type safe store with a similar API to Pinia or Vuex 5 (which is still in the RFC stage). I learned a lot of what was needed to write this article by reading the Pinia source code