Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-typescript-checker

gatsby-plugin-typescript adds TypeScript transpilation but not type checking. This plug adds fork-ts-checker-webpack-plugin to Gatsby to display type errors in the browser and the command line.

Example

Install

yarn add gatsby-plugin-typescript gatsby-plugin-typescript-checker

gatsby-config.js

module.exports = {
  plugins: [
      'gatsby-plugin-typescript',
      'gatsby-plugin-typescript-checker'
  ]
}
© 2023 Gatsby, Inc.