How to install gatsby with typescript

In this article let’s discuss about How to install gatsby with typescript. Let’s go through the following methods without any delay.

Method 1:

# Install this on the current gatsby project
npm install gatsby-plugin-typescript & npm install typescript --save-dev
# Yarn
yarn add gatsby-plugin-typescript & yarn add typescript --dev

# gatsby-config.js
module.exports = {
  plugins: [


Hope the above solution works.

Realted Posts : Linux get recursive directory size