From a4ad72958060dc725b6e82eb2e272644f1d1e9d2 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 30 Dec 2021 19:09:36 +0100 Subject: [PATCH] Add typescript --- gatsby-config.js | 2 +- src/pages/{index.js => index.tsx} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/pages/{index.js => index.tsx} (100%) diff --git a/gatsby-config.js b/gatsby-config.js index b85ef2e..e3eea33 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -3,5 +3,5 @@ module.exports = { siteUrl: "https://www.yourdomain.tld", title: "infoscreen_gatsby", }, - plugins: [], + plugins: ["gatsby-plugin-typescript"], }; diff --git a/src/pages/index.js b/src/pages/index.tsx similarity index 100% rename from src/pages/index.js rename to src/pages/index.tsx