You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"+wGG":function(e,t,a){"use strict";a.r(t),a.d(t,"query",(function(){return i}));var n=a("q1tI"),l=a.n(n),r=a("Wbzz"),c=a("Bl7J"),o=a("vrFN");t.default=function(e){var t=e.data,a=e.path,n=e.location;return l.a.createElement(c.a,{title:"Using TypeScript",location:n},l.a.createElement(o.a,{title:"Using TypeScript"}),l.a.createElement("h1",null,"Gatsby supports TypeScript by default!"),l.a.createElement("p",null,"This means that you can create and write ",l.a.createElement("em",null,".ts/.tsx")," files for your pages, components etc. Please note that the ",l.a.createElement("em",null,"gatsby-*.js")," files (like gatsby-node.js) currently don't support TypeScript yet."),l.a.createElement("p",null,"For type checking you'll want to install ",l.a.createElement("em",null,"typescript")," via npm and run ",l.a.createElement("em",null,"tsc --init")," to create a ",l.a.createElement("em",null,".tsconfig")," file."),l.a.createElement("p",null,"You're currently on the page \"",a,'" which was built on'," ",t.site.buildTime,"."),l.a.createElement("p",null,"To learn more, head over to our"," ",l.a.createElement("a",{href:"https://www.gatsbyjs.com/docs/typescript/"},"documentation about TypeScript"),"."),l.a.createElement(r.Link,{to:"/"},"Go back to the homepage"))};var i="2907560070"}}]);