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