{"version":3,"sources":["webpack://typescriptlang-org/./src/components/QuickJump.tsx","webpack://typescriptlang-org/./src/lib/documentationNavigation.ts","webpack://typescriptlang-org/./src/templates/pages/docs/index.tsx","webpack://typescriptlang-org/./static/images/cheatsheets/TypeScript Classes.png","webpack://typescriptlang-org/./static/images/cheatsheets/TypeScript Control Flow Analysis.png","webpack://typescriptlang-org/./static/images/cheatsheets/TypeScript Interfaces.png","webpack://typescriptlang-org/./static/images/cheatsheets/TypeScript Types.png"],"names":["QuickJump","props","intl","useIntl","releaseURL","createInternational","withPrefix","releaseInfo","betaURL","undefined","IntlLink","createIntlLink","lang","className","style","textAlign","title","to","marginTop","href","getDocumentationNavForLanguage","langRequest","navigations","oneline","id","chronological","items","permalink","includes","Index","i","nav","pageContext","cheatSheets","require","RenderItems","map","item","path","key","endsWith","Link","description","navRoot","showIntro","locale"],"mappings":"0NAcaA,EAAY,SAACC,GACxB,IAAMC,GAAOC,SAIPC,IAHIC,OAAoCH,IAG3BI,gBAAWC,OAC1BC,OAA8BC,EAC9BF,OAAoBC,EAAUD,MAC9BA,OAAkBC,EAAUD,MAEhC,IAAMG,GAAWC,OAAeV,EAAMW,MAGtC,OAAO,uBAAKC,UAAU,sBACpB,sBAAIC,MAAO,CAAEC,UAAW,WAAad,EAAMe,OAC3C,uBAAKH,UAAU,WACb,uBAAKA,UAAU,eACb,yCACA,0BACE,0BACE,gBAACH,EAAD,CAAUO,GAAG,mBAAb,2BAIF,0BACE,gBAACP,EAAD,CAAUO,GAAG,+CAAb,aAIF,0BACE,gBAACP,EAAD,CAAUO,GAAG,+CAAb,uBAIF,0BACE,gBAACP,EAAD,CAAUO,GAAG,mDAAb,cAIF,0BACE,gBAACP,EAAD,CAAUO,GAAG,oDAAb,qBAIF,0BAAI,gBAACP,EAAD,CAAUO,GAAG,aAAb,mBAIR,uBAAKJ,UAAU,eACb,sCACA,0BACE,0BACE,gBAACH,EAAD,CAAUO,GAAG,mCAAb,gBAIF,0BACE,gBAACP,EAAD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sBAAIE,IAAKF,EAAKb,IACjBc,EAAKE,SAAS,OACd,qBAAGrB,KAAMmB,GAAOD,EAAKrB,OACrB,gBAAC,EAAAyB,KAAD,CAAMxB,GAAIqB,GAAOD,EAAKrB,WAdH,MAqB3B,OACE,gBAAC,IAAD,CAAQA,MAAOc,EAAE,oBAAqBY,YAAaZ,EAAE,0BAA2BlB,KAAMX,EAAM+B,YAAYpB,MAEtG,uBAAKC,UAAU,8BAA8BC,MAAO,CAAEI,UAAW,SAC/D,uDAGF,uBAAKL,UAAU,iDACb,uBAAKA,UAAU,gBACZ,kBAAIkB,GAAJ,CAASE,IAAaG,KAAI,SAAAO,GACzB,GAAmB,eAAfA,EAAQnB,GAAqB,OAAO,KACxC,IAAMoB,EAA2B,aAAfD,EAAQnB,GAE1B,OACE,uBAAKX,UAAU,cAAc0B,IAAKI,EAAQnB,IAExC,0BAAKmB,EAAQ3B,OACb,yBAAI2B,EAAQpB,SAAW,KAEvB,0BACE,gBAACY,EAAD,CAAaT,MAAOiB,KAGrBC,GAAa,4CAAmB,qBAAGzB,KAAK,oCAAR,QAAnB,QAA2E,qBAAGA,KAAK,mCAAR,OAA3E,mCAOxB,gBAAC,IAAD,CAAWH,MAAOc,EAAE,gBAAiBlB,KAAMX,EAAM+B,YAAYpB,SAKnE,mBAAgBX,GAAD,OACb,gBAAC,IAAD,CAAM4C,OAAQ5C,EAAM+B,YAAYpB,MAC9B,gBAACiB,EAAU5B,M,kCCzHf,IAAe,IAA0B,kE,kCCAzC,IAAe,IAA0B,gF,kCCAzC,IAAe,IAA0B,qE,kCCAzC,IAAe,IAA0B,gE","file":"component---src-templates-pages-docs-index-tsx-deb7b29a754dd8f362d2.js","sourcesContent":["import * as React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { createInternational } from \"../lib/createInternational\";\nimport { docCopy } from \"../copy/en/documentation\";\nimport { createIntlLink } from \"./IntlLink\";\n\n// Automatic metadata from npm and VS Marketplace\nimport releaseInfo from \"../lib/release-info.json\";\nimport { withPrefix } from \"gatsby\";\n\nexport type Props = {\n title: string;\n lang: string;\n};\nexport const QuickJump = (props: Props) => {\n const intl = useIntl();\n const i = createInternational(intl);\n i;\n\n const releaseURL = withPrefix(releaseInfo.releaseNotesURL);\n let betaURL: string | undefined = undefined;\n if (releaseInfo.isBeta) betaURL = releaseInfo.betaPostURL;\n if (releaseInfo.isRC) betaURL = releaseInfo.rcPostURL;\n\n const IntlLink = createIntlLink(props.lang);\n\n // TODO: Internationalize these strings\n return
\n

{props.title}

\n
\n
\n

Get Started

\n
    \n
  • \n \n Bootstrap a TS project\n \n
  • \n
  • \n \n JS to TS\n \n
  • \n
  • \n \n New to Programming\n \n
  • \n
  • \n \n OOP to JS\n \n
  • \n
  • \n \n Functional to JS\n \n
  • \n
  • Installation
  • \n
\n
\n\n
\n

Handbook

\n
    \n
  • \n \n Basic Types\n \n
  • \n
  • \n \n Advanced Types\n \n
  • \n
  • \n \n Interfaces\n \n
  • \n
  • \n \n Variable Declarations\n \n
  • \n
  • \n Functions\n
  • \n
\n
\n\n
\n

Tools

\n
    \n
  • Playground
  • \n
  • TSConfig Reference
  • \n
\n

Release Notes

\n \n
\n\n
\n

Tutorials

\n
    \n
  • \n ASP.NET\n
  • \n
  • \n \n Migrating from JS\n \n
  • \n
  • \n \n Working with the DOM\n \n
  • \n
  • \n \n React & Webpack\n \n
  • \n
\n
\n
\n
;\n};\n","/* This function is completely auto-generated via the `yarn bootstrap` phase of\n the app. You can re-run it when adding new localized handbook pages by running:\n\n yarn workspace documentation create-handbook-nav\n\n Find the source of truth at packages/documentation/scripts/generateDocsNavigationPerLanguage.js\n*/\n\nimport type { SidebarNavItem } from \"./documentationNavigationUtils\";\n\nexport function getDocumentationNavForLanguage(\n langRequest: string\n): SidebarNavItem[] {\n const langs = [\"en\"];\n const lang = langs.includes(langRequest) ? langRequest : \"en\";\n const navigations: Record = {};\n\n navigations.en = [\n {\n title: \"Get Started\",\n oneline: \"Quick introductions based on your background or preference.\",\n id: \"get-started\",\n chronological: false,\n\n items: [\n {\n title: \"TS for the New Programmer\",\n id: \"0-typescript-for-the-new-programmer\",\n permalink: \"/docs/handbook/typescript-from-scratch.html\",\n oneline: \"Learn TypeScript from scratch\",\n },\n {\n title: \"TypeScript for JS Programmers\",\n id: \"0-typescript-for-javascript-programmers\",\n permalink: \"/docs/handbook/typescript-in-5-minutes.html\",\n oneline: \"Learn how TypeScript extends JavaScript\",\n },\n {\n title: \"TS for Java/C# Programmers\",\n id: \"0-typescript-for-java/c#-programmers\",\n permalink: \"/docs/handbook/typescript-in-5-minutes-oop.html\",\n oneline:\n \"Learn TypeScript if you have a background in object-oriented languages\",\n },\n {\n title: \"TS for Functional Programmers\",\n id: \"0-typescript-for-functional-programmers\",\n permalink: \"/docs/handbook/typescript-in-5-minutes-func.html\",\n oneline:\n \"Learn TypeScript if you have a background in functional programming\",\n },\n {\n title: \"TypeScript Tooling in 5 minutes\",\n id: \"0-typescript-tooling-in-5-minutes\",\n permalink: \"/docs/handbook/typescript-tooling-in-5-minutes.html\",\n oneline:\n \"A tutorial to understand how to create a small website with TypeScript\",\n },\n ],\n },\n {\n title: \"Handbook\",\n oneline: \"A great first read for your daily TS work.\",\n id: \"handbook\",\n chronological: true,\n\n items: [\n {\n title: \"The TypeScript Handbook\",\n id: \"1-the-typescript-handbook\",\n permalink: \"/docs/handbook/intro.html\",\n oneline: \"Your first step to learn TypeScript\",\n },\n {\n title: \"The Basics\",\n id: \"1-the-basics\",\n permalink: \"/docs/handbook/2/basic-types.html\",\n oneline: \"Step one in learning TypeScript: The basic types.\",\n },\n {\n title: \"Everyday Types\",\n id: \"1-everyday-types\",\n permalink: \"/docs/handbook/2/everyday-types.html\",\n oneline: \"The language primitives.\",\n },\n {\n title: \"Narrowing\",\n id: \"1-narrowing\",\n permalink: \"/docs/handbook/2/narrowing.html\",\n oneline:\n \"Understand how TypeScript uses JavaScript knowledge to reduce the amount of type syntax in your projects.\",\n },\n {\n title: \"More on Functions\",\n id: \"1-more-on-functions\",\n permalink: \"/docs/handbook/2/functions.html\",\n oneline: \"Learn about how Functions work in TypeScript.\",\n },\n {\n title: \"Object Types\",\n id: \"1-object-types\",\n permalink: \"/docs/handbook/2/objects.html\",\n oneline: \"How TypeScript describes the shapes of JavaScript objects.\",\n },\n {\n title: \"Type Manipulation\",\n id: \"1-type-manipulation\",\n oneline: \"undefined\",\n chronological: true,\n\n items: [\n {\n title: \"Creating Types from Types\",\n id: \"1-creating-types-from-types\",\n permalink: \"/docs/handbook/2/types-from-types.html\",\n oneline:\n \"An overview of the ways in which you can create more types from existing types.\",\n },\n {\n title: \"Generics\",\n id: \"1-generics\",\n permalink: \"/docs/handbook/2/generics.html\",\n oneline: \"Types which take parameters\",\n },\n {\n title: \"Keyof Type Operator\",\n id: \"1-keyof-type-operator\",\n permalink: \"/docs/handbook/2/keyof-types.html\",\n oneline: \"Using the keyof operator in type contexts.\",\n },\n {\n title: \"Typeof Type Operator\",\n id: \"1-typeof-type-operator\",\n permalink: \"/docs/handbook/2/typeof-types.html\",\n oneline: \"Using the typeof operator in type contexts.\",\n },\n {\n title: \"Indexed Access Types\",\n id: \"1-indexed-access-types\",\n permalink: \"/docs/handbook/2/indexed-access-types.html\",\n oneline: \"Using Type['a'] syntax to access a subset of a type.\",\n },\n {\n title: \"Conditional Types\",\n id: \"1-conditional-types\",\n permalink: \"/docs/handbook/2/conditional-types.html\",\n oneline:\n \"Create types which act like if statements in the type system.\",\n },\n {\n title: \"Mapped Types\",\n id: \"1-mapped-types\",\n permalink: \"/docs/handbook/2/mapped-types.html\",\n oneline: \"Generating types by re-using an existing type.\",\n },\n {\n title: \"Template Literal Types\",\n id: \"1-template-literal-types\",\n permalink: \"/docs/handbook/2/template-literal-types.html\",\n oneline:\n \"Generating mapping types which change properties via template literal strings.\",\n },\n ],\n },\n {\n title: \"Classes\",\n id: \"1-classes\",\n permalink: \"/docs/handbook/2/classes.html\",\n oneline: \"How classes work in TypeScript\",\n },\n {\n title: \"Modules\",\n id: \"1-modules\",\n permalink: \"/docs/handbook/2/modules.html\",\n oneline:\n \"How JavaScript handles communicating across file boundaries.\",\n },\n ],\n },\n {\n title: \"Reference\",\n oneline: \"Deep dive reference materials.\",\n id: \"reference\",\n chronological: false,\n\n items: [\n {\n title: \"Utility Types\",\n id: \"2-utility-types\",\n permalink: \"/docs/handbook/utility-types.html\",\n oneline: \"Types which are globally included in TypeScript\",\n },\n {\n title: \"Cheat Sheets\",\n id: \"2-cheat-sheets\",\n permalink: \"/cheatsheets\",\n oneline: \"Syntax overviews for common code\",\n },\n {\n title: \"Decorators\",\n id: \"2-decorators\",\n permalink: \"/docs/handbook/decorators.html\",\n oneline: \"TypeScript Decorators overview\",\n },\n {\n title: \"Declaration Merging\",\n id: \"2-declaration-merging\",\n permalink: \"/docs/handbook/declaration-merging.html\",\n oneline: \"How merging namespaces and interfaces works\",\n },\n {\n title: \"Enums\",\n id: \"2-enums\",\n permalink: \"/docs/handbook/enums.html\",\n oneline: \"How TypeScript enums work\",\n },\n {\n title: \"Iterators and Generators\",\n id: \"2-iterators-and-generators\",\n permalink: \"/docs/handbook/iterators-and-generators.html\",\n oneline: \"How Iterators and Generators work in TypeScript\",\n },\n {\n title: \"JSX\",\n id: \"2-jsx\",\n permalink: \"/docs/handbook/jsx.html\",\n oneline: \"Using JSX with TypeScript\",\n },\n {\n title: \"Mixins\",\n id: \"2-mixins\",\n permalink: \"/docs/handbook/mixins.html\",\n oneline: \"Using the mixin pattern with TypeScript\",\n },\n {\n title: \"ECMAScript Modules in Node.js\",\n id: \"2-ecmascript-modules-in-node.js\",\n permalink: \"/docs/handbook/esm-node.html\",\n oneline: \"Using ECMAScript Modules in Node.js\",\n },\n {\n title: \"Modules\",\n id: \"2-modules\",\n permalink: \"/docs/handbook/modules.html\",\n oneline: \"How modules work in TypeScript\",\n },\n {\n title: \"Module Resolution\",\n id: \"2-module-resolution\",\n permalink: \"/docs/handbook/module-resolution.html\",\n oneline: \"How TypeScript resolves modules in JavaScript\",\n },\n {\n title: \"Namespaces\",\n id: \"2-namespaces\",\n permalink: \"/docs/handbook/namespaces.html\",\n oneline: \"How TypeScript namespaces work\",\n },\n {\n title: \"Namespaces and Modules\",\n id: \"2-namespaces-and-modules\",\n permalink: \"/docs/handbook/namespaces-and-modules.html\",\n oneline:\n \"How to organize code in TypeScript via modules or namespaces\",\n },\n {\n title: \"Symbols\",\n id: \"2-symbols\",\n permalink: \"/docs/handbook/symbols.html\",\n oneline: \"Using the JavaScript Symbol primitive in TypeScript\",\n },\n {\n title: \"Triple-Slash Directives\",\n id: \"2-triple-slash-directives\",\n permalink: \"/docs/handbook/triple-slash-directives.html\",\n oneline: \"How to use triple slash directives in TypeScript\",\n },\n {\n title: \"Type Compatibility\",\n id: \"2-type-compatibility\",\n permalink: \"/docs/handbook/type-compatibility.html\",\n oneline: \"How type-checking works in TypeScript\",\n },\n {\n title: \"Type Inference\",\n id: \"2-type-inference\",\n permalink: \"/docs/handbook/type-inference.html\",\n oneline: \"How code flow analysis works in TypeScript\",\n },\n {\n title: \"Variable Declaration\",\n id: \"2-variable-declaration\",\n permalink: \"/docs/handbook/variable-declarations.html\",\n oneline: \"How TypeScript handles variable declaration\",\n },\n ],\n },\n {\n title: \"Tutorials\",\n oneline: \"Using TypeScript in several environments.\",\n id: \"tutorials\",\n chronological: false,\n\n items: [\n {\n title: \"ASP.NET Core\",\n id: \"3-asp.net-core\",\n permalink: \"/docs/handbook/asp-net-core.html\",\n oneline: \"Using TypeScript in ASP.NET Core\",\n },\n {\n title: \"Gulp\",\n id: \"3-gulp\",\n permalink: \"/docs/handbook/gulp.html\",\n oneline: \"Using TypeScript with Gulp\",\n },\n {\n title: \"DOM Manipulation\",\n id: \"3-dom-manipulation\",\n permalink: \"/docs/handbook/dom-manipulation.html\",\n oneline: \"Using the DOM with TypeScript\",\n },\n {\n title: \"Migrating from JavaScript\",\n id: \"3-migrating-from-javascript\",\n permalink: \"/docs/handbook/migrating-from-javascript.html\",\n oneline: \"How to migrate from JavaScript to TypeScript\",\n },\n {\n title: \"Using Babel with TypeScript\",\n id: \"3-using-babel-with-typescript\",\n permalink: \"/docs/handbook/babel-with-typescript.html\",\n oneline: \"How to create a hybrid Babel + TypeScript project\",\n },\n ],\n },\n {\n title: \"What's New\",\n oneline:\n \"Find out how TypeScript has evolved and what's new in the releases.\",\n id: \"what's-new\",\n chronological: false,\n\n items: [\n {\n title: \"Overview\",\n id: \"4-overview\",\n permalink: \"/docs/handbook/release-notes/overview.html\",\n oneline: \"All TypeScript release notes\",\n },\n {\n title: \"TypeScript 4.8\",\n id: \"4-typescript-4.8\",\n permalink: \"/docs/handbook/release-notes/typescript-4-8.html\",\n oneline: \"TypeScript 4.8 Release Notes\",\n },\n {\n title: \"TypeScript 4.7\",\n id: \"4-typescript-4.7\",\n permalink: \"/docs/handbook/release-notes/typescript-4-7.html\",\n oneline: \"TypeScript 4.7 Release Notes\",\n },\n {\n title: \"TypeScript 4.6\",\n id: \"4-typescript-4.6\",\n permalink: \"/docs/handbook/release-notes/typescript-4-6.html\",\n oneline: \"TypeScript 4.6 Release Notes\",\n },\n {\n title: \"TypeScript 4.5\",\n id: \"4-typescript-4.5\",\n permalink: \"/docs/handbook/release-notes/typescript-4-5.html\",\n oneline: \"TypeScript 4.5 Release Notes\",\n },\n {\n title: \"TypeScript 4.4\",\n id: \"4-typescript-4.4\",\n permalink: \"/docs/handbook/release-notes/typescript-4-4.html\",\n oneline: \"TypeScript 4.4 Release Notes\",\n },\n {\n title: \"TypeScript 4.3\",\n id: \"4-typescript-4.3\",\n permalink: \"/docs/handbook/release-notes/typescript-4-3.html\",\n oneline: \"TypeScript 4.3 Release Notes\",\n },\n {\n title: \"TypeScript 4.2\",\n id: \"4-typescript-4.2\",\n permalink: \"/docs/handbook/release-notes/typescript-4-2.html\",\n oneline: \"TypeScript 4.2 Release Notes\",\n },\n {\n title: \"TypeScript 4.1\",\n id: \"4-typescript-4.1\",\n permalink: \"/docs/handbook/release-notes/typescript-4-1.html\",\n oneline: \"TypeScript 4.1 Release Notes\",\n },\n {\n title: \"TypeScript 4.0\",\n id: \"4-typescript-4.0\",\n permalink: \"/docs/handbook/release-notes/typescript-4-0.html\",\n oneline: \"TypeScript 4.0 Release Notes\",\n },\n {\n title: \"TypeScript 3.9\",\n id: \"4-typescript-3.9\",\n permalink: \"/docs/handbook/release-notes/typescript-3-9.html\",\n oneline: \"TypeScript 3.9 Release Notes\",\n },\n {\n title: \"TypeScript 3.8\",\n id: \"4-typescript-3.8\",\n permalink: \"/docs/handbook/release-notes/typescript-3-8.html\",\n oneline: \"TypeScript 3.8 Release Notes\",\n },\n {\n title: \"TypeScript 3.7\",\n id: \"4-typescript-3.7\",\n permalink: \"/docs/handbook/release-notes/typescript-3-7.html\",\n oneline: \"TypeScript 3.7 Release Notes\",\n },\n {\n title: \"TypeScript 3.6\",\n id: \"4-typescript-3.6\",\n permalink: \"/docs/handbook/release-notes/typescript-3-6.html\",\n oneline: \"TypeScript 3.6 Release Notes\",\n },\n {\n title: \"TypeScript 3.5\",\n id: \"4-typescript-3.5\",\n permalink: \"/docs/handbook/release-notes/typescript-3-5.html\",\n oneline: \"TypeScript 3.5 Release Notes\",\n },\n {\n title: \"TypeScript 3.4\",\n id: \"4-typescript-3.4\",\n permalink: \"/docs/handbook/release-notes/typescript-3-4.html\",\n oneline: \"TypeScript 3.4 Release Notes\",\n },\n {\n title: \"TypeScript 3.3\",\n id: \"4-typescript-3.3\",\n permalink: \"/docs/handbook/release-notes/typescript-3-3.html\",\n oneline: \"TypeScript 3.3 Release Notes\",\n },\n {\n title: \"TypeScript 3.2\",\n id: \"4-typescript-3.2\",\n permalink: \"/docs/handbook/release-notes/typescript-3-2.html\",\n oneline: \"TypeScript 3.2 Release Notes\",\n },\n {\n title: \"TypeScript 3.1\",\n id: \"4-typescript-3.1\",\n permalink: \"/docs/handbook/release-notes/typescript-3-1.html\",\n oneline: \"TypeScript 3.1 Release Notes\",\n },\n {\n title: \"TypeScript 3.0\",\n id: \"4-typescript-3.0\",\n permalink: \"/docs/handbook/release-notes/typescript-3-0.html\",\n oneline: \"TypeScript 3.0 Release Notes\",\n },\n {\n title: \"TypeScript 2.9\",\n id: \"4-typescript-2.9\",\n permalink: \"/docs/handbook/release-notes/typescript-2-9.html\",\n oneline: \"TypeScript 2.9 Release Notes\",\n },\n {\n title: \"TypeScript 2.8\",\n id: \"4-typescript-2.8\",\n permalink: \"/docs/handbook/release-notes/typescript-2-8.html\",\n oneline: \"TypeScript 2.8 Release Notes\",\n },\n {\n title: \"TypeScript 2.7\",\n id: \"4-typescript-2.7\",\n permalink: \"/docs/handbook/release-notes/typescript-2-7.html\",\n oneline: \"TypeScript 2.7 Release Notes\",\n },\n {\n title: \"TypeScript 2.6\",\n id: \"4-typescript-2.6\",\n permalink: \"/docs/handbook/release-notes/typescript-2-6.html\",\n oneline: \"TypeScript 2.6 Release Notes\",\n },\n {\n title: \"TypeScript 2.5\",\n id: \"4-typescript-2.5\",\n permalink: \"/docs/handbook/release-notes/typescript-2-5.html\",\n oneline: \"TypeScript 2.5 Release Notes\",\n },\n {\n title: \"TypeScript 2.4\",\n id: \"4-typescript-2.4\",\n permalink: \"/docs/handbook/release-notes/typescript-2-4.html\",\n oneline: \"TypeScript 2.4 Release Notes\",\n },\n {\n title: \"TypeScript 2.3\",\n id: \"4-typescript-2.3\",\n permalink: \"/docs/handbook/release-notes/typescript-2-3.html\",\n oneline: \"TypeScript 2.3 Release Notes\",\n },\n {\n title: \"TypeScript 2.2\",\n id: \"4-typescript-2.2\",\n permalink: \"/docs/handbook/release-notes/typescript-2-2.html\",\n oneline: \"TypeScript 2.2 Release Notes\",\n },\n {\n title: \"TypeScript 2.1\",\n id: \"4-typescript-2.1\",\n permalink: \"/docs/handbook/release-notes/typescript-2-1.html\",\n oneline: \"TypeScript 2.1 Release Notes\",\n },\n {\n title: \"TypeScript 2.0\",\n id: \"4-typescript-2.0\",\n permalink: \"/docs/handbook/release-notes/typescript-2-0.html\",\n oneline: \"TypeScript 2.0 Release Notes\",\n },\n {\n title: \"TypeScript 1.8\",\n id: \"4-typescript-1.8\",\n permalink: \"/docs/handbook/release-notes/typescript-1-8.html\",\n oneline: \"TypeScript 1.8 Release Notes\",\n },\n {\n title: \"TypeScript 1.7\",\n id: \"4-typescript-1.7\",\n permalink: \"/docs/handbook/release-notes/typescript-1-7.html\",\n oneline: \"TypeScript 1.7 Release Notes\",\n },\n {\n title: \"TypeScript 1.6\",\n id: \"4-typescript-1.6\",\n permalink: \"/docs/handbook/release-notes/typescript-1-6.html\",\n oneline: \"TypeScript 1.6 Release Notes\",\n },\n {\n title: \"TypeScript 1.5\",\n id: \"4-typescript-1.5\",\n permalink: \"/docs/handbook/release-notes/typescript-1-5.html\",\n oneline: \"TypeScript 1.5 Release Notes\",\n },\n {\n title: \"TypeScript 1.4\",\n id: \"4-typescript-1.4\",\n permalink: \"/docs/handbook/release-notes/typescript-1-4.html\",\n oneline: \"TypeScript 1.3 Release Notes\",\n },\n {\n title: \"TypeScript 1.3\",\n id: \"4-typescript-1.3\",\n permalink: \"/docs/handbook/release-notes/typescript-1-3.html\",\n oneline: \"TypeScript 1.3 Release Notes\",\n },\n {\n title: \"TypeScript 1.1\",\n id: \"4-typescript-1.1\",\n permalink: \"/docs/handbook/release-notes/typescript-1-1.html\",\n oneline: \"TypeScript 1.1 Release Notes\",\n },\n ],\n },\n {\n title: \"Declaration Files\",\n oneline:\n \"Learn how to write declaration files to describe existing JavaScript. Important for DefinitelyTyped contributions.\",\n id: \"declaration-files\",\n chronological: true,\n\n items: [\n {\n title: \"Introduction\",\n id: \"5-introduction\",\n permalink: \"/docs/handbook/declaration-files/introduction.html\",\n oneline:\n \"How to write a high-quality TypeScript Declaration (d.ts) file\",\n },\n {\n title: \"Declaration Reference\",\n id: \"5-declaration-reference\",\n permalink: \"/docs/handbook/declaration-files/by-example.html\",\n oneline: \"How to create a d.ts file for a module\",\n },\n {\n title: \"Library Structures\",\n id: \"5-library-structures\",\n permalink: \"/docs/handbook/declaration-files/library-structures.html\",\n oneline: \"How to structure your d.ts files\",\n },\n {\n title: \".d.ts Templates\",\n id: \"5-.d.ts-templates\",\n oneline: \"undefined\",\n chronological: false,\n\n items: [\n {\n title: \"Modules .d.ts\",\n id: \"5-modules-.d.ts\",\n permalink:\n \"/docs/handbook/declaration-files/templates/module-d-ts.html\",\n oneline: \"undefined\",\n },\n {\n title: \"Module: Plugin\",\n id: \"5-module:-plugin\",\n permalink:\n \"/docs/handbook/declaration-files/templates/module-plugin-d-ts.html\",\n oneline: \"undefined\",\n },\n {\n title: \"Module: Class\",\n id: \"5-module:-class\",\n permalink:\n \"/docs/handbook/declaration-files/templates/module-class-d-ts.html\",\n oneline: \"undefined\",\n },\n {\n title: \"Module: Function\",\n id: \"5-module:-function\",\n permalink:\n \"/docs/handbook/declaration-files/templates/module-function-d-ts.html\",\n oneline: \"undefined\",\n },\n {\n title: \"Global .d.ts\",\n id: \"5-global-.d.ts\",\n permalink:\n \"/docs/handbook/declaration-files/templates/global-d-ts.html\",\n oneline: \"undefined\",\n },\n {\n title: \"Global: Modifying Module\",\n id: \"5-global:-modifying-module\",\n permalink:\n \"/docs/handbook/declaration-files/templates/global-modifying-module-d-ts.html\",\n oneline: \"undefined\",\n },\n ],\n },\n {\n title: \"Do's and Don'ts\",\n id: \"5-do's-and-don'ts\",\n permalink: \"/docs/handbook/declaration-files/do-s-and-don-ts.html\",\n oneline: \"Recommendations for writing d.ts files\",\n },\n {\n title: \"Deep Dive\",\n id: \"5-deep-dive\",\n permalink: \"/docs/handbook/declaration-files/deep-dive.html\",\n oneline: \"How do d.ts files work, a deep dive\",\n },\n {\n title: \"Publishing\",\n id: \"5-publishing\",\n permalink: \"/docs/handbook/declaration-files/publishing.html\",\n oneline: \"How to get your d.ts files to users\",\n },\n {\n title: \"Consumption\",\n id: \"5-consumption\",\n permalink: \"/docs/handbook/declaration-files/consumption.html\",\n oneline: \"How to download d.ts files for your project\",\n },\n ],\n },\n {\n title: \"JavaScript\",\n oneline: \"How to use TypeScript-powered JavaScript tooling.\",\n id: \"javascript\",\n chronological: true,\n\n items: [\n {\n title: \"JS Projects Utilizing TypeScript\",\n id: \"6-js-projects-utilizing-typescript\",\n permalink: \"/docs/handbook/intro-to-js-ts.html\",\n oneline:\n \"How to add type checking to JavaScript files using TypeScript\",\n },\n {\n title: \"Type Checking JavaScript Files\",\n id: \"6-type-checking-javascript-files\",\n permalink: \"/docs/handbook/type-checking-javascript-files.html\",\n oneline:\n \"How to add type checking to JavaScript files using TypeScript\",\n },\n {\n title: \"JSDoc Reference\",\n id: \"6-jsdoc-reference\",\n permalink: \"/docs/handbook/jsdoc-supported-types.html\",\n oneline: \"What JSDoc does TypeScript-powered JavaScript support?\",\n },\n {\n title: \"Creating .d.ts Files from .js files\",\n id: \"6-creating-.d.ts-files-from-.js-files\",\n permalink: \"/docs/handbook/declaration-files/dts-from-js.html\",\n oneline: \"How to add d.ts generation to JavaScript projects\",\n },\n ],\n },\n {\n title: \"Project Configuration\",\n oneline: \"Compiler configuration reference.\",\n id: \"project-configuration\",\n chronological: false,\n\n items: [\n {\n title: \"What is a tsconfig.json\",\n id: \"7-what-is-a-tsconfig.json\",\n permalink: \"/docs/handbook/tsconfig-json.html\",\n oneline: \"Learn about how a TSConfig works\",\n },\n {\n title: \"Compiler Options in MSBuild\",\n id: \"7-compiler-options-in-msbuild\",\n permalink: \"/docs/handbook/compiler-options-in-msbuild.html\",\n oneline: \"Which compiler options are available in MSBuild projects.\",\n },\n {\n title: \"TSConfig Reference\",\n id: \"7-tsconfig-reference\",\n permalink: \"/tsconfig\",\n oneline: \"The page covering every TSConfig option\",\n },\n {\n title: \"tsc CLI Options\",\n id: \"7-tsc-cli-options\",\n permalink: \"/docs/handbook/compiler-options.html\",\n oneline:\n \"A very high-level overview of the CLI compiler options for tsc\",\n },\n {\n title: \"Project References\",\n id: \"7-project-references\",\n permalink: \"/docs/handbook/project-references.html\",\n oneline: \"How to split up a large TypeScript project\",\n },\n {\n title: \"Integrating with Build Tools\",\n id: \"7-integrating-with-build-tools\",\n permalink: \"/docs/handbook/integrating-with-build-tools.html\",\n oneline: \"How to use TypeScript with other build tools\",\n },\n {\n title: \"Configuring Watch\",\n id: \"7-configuring-watch\",\n permalink: \"/docs/handbook/configuring-watch.html\",\n oneline: \"How to configure the watch mode of TypeScript\",\n },\n {\n title: \"Nightly Builds\",\n id: \"7-nightly-builds\",\n permalink: \"/docs/handbook/nightly-builds.html\",\n oneline: \"How to use a nightly build of TypeScript\",\n },\n ],\n },\n ];\n\n return navigations[lang];\n}\n","import * as React from \"react\";\nimport { Layout } from \"../../../components/layout\";\n\nimport \"../css/documentation.scss\";\nimport { Intl } from \"../../../components/Intl\";\n\nimport { docCopy } from \"../../../copy/en/documentation\";\nimport { cheatCopy } from \"../../../copy/en/cheatsheets\";\n\nimport { createInternational } from \"../../../lib/createInternational\";\nimport { useIntl } from \"react-intl\";\nimport { QuickJump } from \"../../../components/QuickJump\";\nimport { getDocumentationNavForLanguage } from \"../../../lib/documentationNavigation\"\n\nimport { Link } from \"gatsby\"\n\nimport \"../css/documentation.scss\"\nimport \"../../documentation.scss\"\nimport { SidebarNavItem } from \"../../../lib/documentationNavigationUtils\";\n\ntype Props = {\n pageContext: any;\n};\n\n\nconst Index: React.FC = (props) => {\n const i = createInternational(useIntl());\n const nav = getDocumentationNavForLanguage(props.pageContext.lang)\n \n const cheatSheets: SidebarNavItem = {\n id: \"cheat\",\n title: i(\"cht_layout_title\"),\n oneline: i(\"cht_blurb_1\") + \".\",\n items: [ \n {\n id: \"1\",\n title: i(\"cht_cfa\"),\n permalink: require(\"../../../../static/images/cheatsheets/TypeScript Control Flow Analysis.png\").default\n },\n {\n id: \"2\",\n title: i(\"cht_classes\"),\n permalink: require(\"../../../../static/images/cheatsheets/TypeScript Classes.png\").default\n },\n {\n id: \"3\",\n title: i(\"cht_interfaces\"),\n permalink: require(\"../../../../static/images/cheatsheets/TypeScript Interfaces.png\").default\n },\n {\n id: \"4\",\n title: i(\"cht_types\"),\n permalink: require(\"../../../../static/images/cheatsheets/TypeScript Types.png\").default\n },\n {\n id: \"5\",\n title: i(\"cht_dl_title\"),\n permalink: \"/assets/typescript-cheat-sheets.zip\"\n }\n ]\n }\n\n const RenderItems = ({ items }) => {\n if (!items.items) return null\n\n return items.items && items.items.map(item => {\n const path = item.permalink!\n if (item.items) {\n return <> \n
  • {item.title}
  • \n
  • \n \n } else {\n\n return
  • \n { path.endsWith(\"png\") ?\n {item.title} :\n {item.title}\n }\n
  • \n }\n })\n }\n \n return (\n \n\n
    \n

    TypeScript Documentation

    \n
    \n\n
    \n
    \n {[...nav, cheatSheets].map(navRoot => {\n if (navRoot.id === \"what's-new\") return null\n const showIntro = navRoot.id === \"handbook\"\n\n return (\n
    \n\n

    {navRoot.title}

    \n

    {navRoot.oneline || \" \"}

    \n\n
      \n \n
    \n\n {showIntro &&

    We also have an epub and pdf version of the Handbook.

    }\n
    \n )\n })}\n
    \n
    \n\n \n
    \n );\n};\n\nexport default (props: Props) => (\n \n \n \n);\n","export default __webpack_public_path__ + \"static/TypeScript Classes-83cc6f8e42ba2002d5e2c04221fa78f9.png\";","export default __webpack_public_path__ + \"static/TypeScript Control Flow Analysis-8a549253ad8470850b77c4c5c351d457.png\";","export default __webpack_public_path__ + \"static/TypeScript Interfaces-34f1ad12132fb463bd1dfe5b85c5b2e6.png\";","export default __webpack_public_path__ + \"static/TypeScript Types-ae199d69aeecf7d4a2704a528d0fd3f9.png\";"],"sourceRoot":""}