Skip to content

Instantly share code, notes, and snippets.

@vdelacou
Created October 20, 2020 09:10
Show Gist options
  • Save vdelacou/28dc841b00c34395d5ec3a9710e93d8f to your computer and use it in GitHub Desktop.
Save vdelacou/28dc841b00c34395d5ec3a9710e93d8f to your computer and use it in GitHub Desktop.
Gatsby Typescript config
{
"compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
},
"include": ["src", "gatsby-browser.js", "gatsby-config.js", "gatsby-node.js", "gatsby-ssr.js"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment