1"use strict";(self.webpackChunkgatsby_starter_blog=self.webpackChunkgatsby_starter_blog||[]).push([[743],{3479:function(e,t,l){l.r(t);var n=l(6540),a=l(4794),r=l(3895),c=l(7528);t.default=e=>{let{data:t,path:l,location:o}=e;return n.createElement(r.A,{title:"Using TypeScript",location:o},n.createElement(c.A,{title:"Using TypeScript"}),n.createElement("h1",null,"Gatsby supports TypeScript by default!"),n.createElement("p",null,"This means that you can create and write ",n.createElement("em",null,".ts/.tsx")," files for your pages, components etc. Please note that the ",n.createElement("em",null,"gatsby-*.js")," files (like gatsby-node.js) currently don't support TypeScript yet."),n.createElement("p",null,"For type checking you'll want to install ",n.createElement("em",null,"typescript")," via npm and run ",n.createElement("em",null,"tsc --init")," to create a ",n.createElement("em",null,".tsconfig")," file."),n.createElement("p",null,"You're currently on the page \"",l,'" which was built on'," ",t.site.buildTime,"."),n.createElement("p",null,"To learn more, head over to our"," ",n.createElement("a",{href:"https://www.gatsbyjs.com/docs/typescript/"},"documentation about TypeScript"),"."),n.createElement(a.Link,{to:"/"},"Go back to the homepage"))}}}]); 2//# sourceMappingURL=component---src-pages-using-typescript-tsx-1797ec568578486bcbfb.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.