Follow me along as I explore two new features of TypeScript 4.1, template literal types and recursive conditional types. All this to create a typed version of a function that reads data from an API.
ReadHow to use barrel files in our projects. Should you use them? If yes, how to organize code around them and where to place these files. Read on to find out more.
ReadHandling imports is a bit more trickier to manage due to paths and constant refactoring that one will do inside a more complex application.
Read