How To Set Up a Gatsby Project with TypeScript
TypeScript is a superset of JavaScript that adds optional static typing at build time, which cuts down on debugging runtime errors. It’s static-typing abilities go well with a static-site generator like Gatsby, and Gatsby has built-in support for coding in TypeScript. In this tutorial, you’re going to use Gatsby’s built-in capabilities to configure a Gatsby project for TypeScript.