gatsby and typescript code example
Example: install typescript in gatsby
yarn add gatsby-plugin-typescript
yarn add typescript --dev
# npm
npm i gatsby-plugin-typescript
npm i typescript --save-dev
yarn add gatsby-plugin-typescript
yarn add typescript --dev
# npm
npm i gatsby-plugin-typescript
npm i typescript --save-dev