TypeScript Tuples

Two artichokes on a gray round plate

TypeScript offers a plethora of types for developers to leverage, but some of the types may be ones that you’re unfamiliar with. Take the tuple, for example. JavaScript doesn’t have a concept of tuples, so figuring out how and when to use one might feel tricky. Thankfully, Tuples are pretty simple and are used by […]

Typescript – What is a Partial?

A common theme in TypeScript is to define an interface for a data structure. Additionally, it’s fairly common to post data structures to an HTTP endpoint to create resources. You may even find yourself posting another structure with some of the same properties to update that data structure. Instead of creating another interface for the […]