# TypeScript

Handle Ajax requests with Vue 3, Vuex, axios and TypeScript

Practically every application needs to handle Ajax requests and one of the most convenient libraries of recent years that helps with it is axios. I really like axios. There are quite a few different things that need to happen every time a request is made, such as setting Authorization headers, handling errors, etc.


Function currying in JavaScript

What is function currying? The concept sounds a bit mysterious and perhaps the best explanation I could find comes from the Pro TypeScipt book: Currying is a process whereby a function with multiple parameters is decomposed into multiple functions that each take a single parameter.