text: (self.webpackChunkgatsby_starter_blog=self.webpackChunkgatsby_starter_blog||[]).push([[970],{2815:function(e,t,n){"use strict";n.r(t);var l=n(7294),a=n(5444),r=n(4233),c=n(9470);t.default=function(e){var t=e.data,n=e.path,o=e.location;return l.createElement(r.Z,{title:"Using TypeScript",location:o},l.createElement(c.Z,{title:"Using TypeScript"}),l.createElement("h1",null,"Gatsby supports TypeScript by default!"),l.createElement("p",null,"This means that you can create and write ",l.createElement("em",null,".ts/.tsx")," files for your pages, components etc. Please note that the ",l.createElement("em",null,"gatsby-*.js")," files (like gatsby-node.js) currently don't support TypeScript yet."),l.createElement("p",null,"For type checking you'll want to install ",l.createElement("em",null,"typescript")," via npm and run ",l.createElement("em",null,"tsc --init")," to create a ",l.createElement("em",null,".tsconfig")," file."),l.createElement("p",null,"You're currently on the page \"",n,'" which was built on'," ",t.site.buildTime,"."),l.createElement("p",null,"To learn more, head over to our"," ",l.createElement("a",{href:"https://www.gatsbyjs.com/docs/typescript/"},"documentation about TypeScript"),"."),l.createElement(a.Link,{to:"/"},"Go back to the homepage"))}}}]);
  //# sourceMappingURL=component---src-pages-using-typescript-tsx-1e545a8d78d87eeccc1c.js.map