557 lines
14 KiB
JSON
557 lines
14 KiB
JSON
[
|
|
{
|
|
"text": "Get Started",
|
|
"collapsed": false,
|
|
"items": [
|
|
{
|
|
"text": "TS for the New Programmer",
|
|
"link": "/docs/handbook/typescript-from-scratch"
|
|
},
|
|
{
|
|
"text": "TypeScript for JS Programmers",
|
|
"link": "/docs/handbook/typescript-in-5-minutes"
|
|
},
|
|
{
|
|
"text": "TS for Java/C# Programmers",
|
|
"link": "/docs/handbook/typescript-in-5-minutes-oop"
|
|
},
|
|
{
|
|
"text": "TS for Functional Programmers",
|
|
"link": "/docs/handbook/typescript-in-5-minutes-func"
|
|
},
|
|
{
|
|
"text": "TypeScript Tooling in 5 minutes",
|
|
"link": "/docs/handbook/typescript-tooling-in-5-minutes"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Handbook",
|
|
"collapsed": false,
|
|
"items": [
|
|
{
|
|
"text": "The TypeScript Handbook",
|
|
"link": "/docs/handbook/intro"
|
|
},
|
|
{
|
|
"text": "The Basics",
|
|
"link": "/docs/handbook/2/basic-types"
|
|
},
|
|
{
|
|
"text": "Everyday Types",
|
|
"link": "/docs/handbook/2/everyday-types"
|
|
},
|
|
{
|
|
"text": "Narrowing",
|
|
"link": "/docs/handbook/2/narrowing"
|
|
},
|
|
{
|
|
"text": "More on Functions",
|
|
"link": "/docs/handbook/2/functions"
|
|
},
|
|
{
|
|
"text": "Object Types",
|
|
"link": "/docs/handbook/2/objects"
|
|
},
|
|
{
|
|
"text": "Type Manipulation",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "Creating Types from Types",
|
|
"link": "/docs/handbook/2/types-from-types"
|
|
},
|
|
{
|
|
"text": "Generics",
|
|
"link": "/docs/handbook/2/generics"
|
|
},
|
|
{
|
|
"text": "Keyof Type Operator",
|
|
"link": "/docs/handbook/2/keyof-types"
|
|
},
|
|
{
|
|
"text": "Typeof Type Operator",
|
|
"link": "/docs/handbook/2/typeof-types"
|
|
},
|
|
{
|
|
"text": "Indexed Access Types",
|
|
"link": "/docs/handbook/2/indexed-access-types"
|
|
},
|
|
{
|
|
"text": "Conditional Types",
|
|
"link": "/docs/handbook/2/conditional-types"
|
|
},
|
|
{
|
|
"text": "Mapped Types",
|
|
"link": "/docs/handbook/2/mapped-types"
|
|
},
|
|
{
|
|
"text": "Template Literal Types",
|
|
"link": "/docs/handbook/2/template-literal-types"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Classes",
|
|
"link": "/docs/handbook/2/classes"
|
|
},
|
|
{
|
|
"text": "Modules",
|
|
"link": "/docs/handbook/2/modules"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Reference",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "Utility Types",
|
|
"link": "/docs/handbook/utility-types"
|
|
},
|
|
{
|
|
"text": "Cheat Sheets",
|
|
"link": "https://www.typescriptlang.org/cheatsheets"
|
|
},
|
|
{
|
|
"text": "Decorators",
|
|
"link": "/docs/handbook/decorators"
|
|
},
|
|
{
|
|
"text": "Declaration Merging",
|
|
"link": "/docs/handbook/declaration-merging"
|
|
},
|
|
{
|
|
"text": "Enums",
|
|
"link": "/docs/handbook/enums"
|
|
},
|
|
{
|
|
"text": "Iterators and Generators",
|
|
"link": "/docs/handbook/iterators-and-generators"
|
|
},
|
|
{
|
|
"text": "JSX",
|
|
"link": "/docs/handbook/jsx"
|
|
},
|
|
{
|
|
"text": "Mixins",
|
|
"link": "/docs/handbook/mixins"
|
|
},
|
|
{
|
|
"text": "Namespaces",
|
|
"link": "/docs/handbook/namespaces"
|
|
},
|
|
{
|
|
"text": "Namespaces and Modules",
|
|
"link": "/docs/handbook/namespaces-and-modules"
|
|
},
|
|
{
|
|
"text": "Symbols",
|
|
"link": "/docs/handbook/symbols"
|
|
},
|
|
{
|
|
"text": "Triple-Slash Directives",
|
|
"link": "/docs/handbook/triple-slash-directives"
|
|
},
|
|
{
|
|
"text": "Type Compatibility",
|
|
"link": "/docs/handbook/type-compatibility"
|
|
},
|
|
{
|
|
"text": "Type Inference",
|
|
"link": "/docs/handbook/type-inference"
|
|
},
|
|
{
|
|
"text": "Variable Declaration",
|
|
"link": "/docs/handbook/variable-declarations"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Modules Reference",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "Introduction",
|
|
"link": "/docs/handbook/modules/introduction"
|
|
},
|
|
{
|
|
"text": "Theory",
|
|
"link": "/docs/handbook/modules/theory"
|
|
},
|
|
{
|
|
"text": "Guides",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "Choosing Compiler Options",
|
|
"link": "/docs/handbook/modules/guides/choosing-compiler-options"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Reference",
|
|
"link": "/docs/handbook/modules/reference"
|
|
},
|
|
{
|
|
"text": "Appendices",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "ESM/CJS Interoperability",
|
|
"link": "/docs/handbook/modules/appendices/esm-cjs-interop"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Tutorials",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "ASP.NET Core",
|
|
"link": "/docs/handbook/asp-net-core"
|
|
},
|
|
{
|
|
"text": "Gulp",
|
|
"link": "/docs/handbook/gulp"
|
|
},
|
|
{
|
|
"text": "DOM Manipulation",
|
|
"link": "/docs/handbook/dom-manipulation"
|
|
},
|
|
{
|
|
"text": "Migrating from JavaScript",
|
|
"link": "/docs/handbook/migrating-from-javascript"
|
|
},
|
|
{
|
|
"text": "Using Babel with TypeScript",
|
|
"link": "/docs/handbook/babel-with-typescript"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "What's New",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "TypeScript 6.0",
|
|
"link": "/docs/handbook/release-notes/typescript-6-0"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.9",
|
|
"link": "/docs/handbook/release-notes/typescript-5-9"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.8",
|
|
"link": "/docs/handbook/release-notes/typescript-5-8"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.7",
|
|
"link": "/docs/handbook/release-notes/typescript-5-7"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.6",
|
|
"link": "/docs/handbook/release-notes/typescript-5-6"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.5",
|
|
"link": "/docs/handbook/release-notes/typescript-5-5"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.4",
|
|
"link": "/docs/handbook/release-notes/typescript-5-4"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.3",
|
|
"link": "/docs/handbook/release-notes/typescript-5-3"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.2",
|
|
"link": "/docs/handbook/release-notes/typescript-5-2"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.1",
|
|
"link": "/docs/handbook/release-notes/typescript-5-1"
|
|
},
|
|
{
|
|
"text": "TypeScript 5.0",
|
|
"link": "/docs/handbook/release-notes/typescript-5-0"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.9",
|
|
"link": "/docs/handbook/release-notes/typescript-4-9"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.8",
|
|
"link": "/docs/handbook/release-notes/typescript-4-8"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.7",
|
|
"link": "/docs/handbook/release-notes/typescript-4-7"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.6",
|
|
"link": "/docs/handbook/release-notes/typescript-4-6"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.5",
|
|
"link": "/docs/handbook/release-notes/typescript-4-5"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.4",
|
|
"link": "/docs/handbook/release-notes/typescript-4-4"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.3",
|
|
"link": "/docs/handbook/release-notes/typescript-4-3"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.2",
|
|
"link": "/docs/handbook/release-notes/typescript-4-2"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.1",
|
|
"link": "/docs/handbook/release-notes/typescript-4-1"
|
|
},
|
|
{
|
|
"text": "TypeScript 4.0",
|
|
"link": "/docs/handbook/release-notes/typescript-4-0"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.9",
|
|
"link": "/docs/handbook/release-notes/typescript-3-9"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.8",
|
|
"link": "/docs/handbook/release-notes/typescript-3-8"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.7",
|
|
"link": "/docs/handbook/release-notes/typescript-3-7"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.6",
|
|
"link": "/docs/handbook/release-notes/typescript-3-6"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.5",
|
|
"link": "/docs/handbook/release-notes/typescript-3-5"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.4",
|
|
"link": "/docs/handbook/release-notes/typescript-3-4"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.3",
|
|
"link": "/docs/handbook/release-notes/typescript-3-3"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.2",
|
|
"link": "/docs/handbook/release-notes/typescript-3-2"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.1",
|
|
"link": "/docs/handbook/release-notes/typescript-3-1"
|
|
},
|
|
{
|
|
"text": "TypeScript 3.0",
|
|
"link": "/docs/handbook/release-notes/typescript-3-0"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.9",
|
|
"link": "/docs/handbook/release-notes/typescript-2-9"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.8",
|
|
"link": "/docs/handbook/release-notes/typescript-2-8"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.7",
|
|
"link": "/docs/handbook/release-notes/typescript-2-7"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.6",
|
|
"link": "/docs/handbook/release-notes/typescript-2-6"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.5",
|
|
"link": "/docs/handbook/release-notes/typescript-2-5"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.4",
|
|
"link": "/docs/handbook/release-notes/typescript-2-4"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.3",
|
|
"link": "/docs/handbook/release-notes/typescript-2-3"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.2",
|
|
"link": "/docs/handbook/release-notes/typescript-2-2"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.1",
|
|
"link": "/docs/handbook/release-notes/typescript-2-1"
|
|
},
|
|
{
|
|
"text": "TypeScript 2.0",
|
|
"link": "/docs/handbook/release-notes/typescript-2-0"
|
|
},
|
|
{
|
|
"text": "TypeScript 1.8",
|
|
"link": "/docs/handbook/release-notes/typescript-1-8"
|
|
},
|
|
{
|
|
"text": "TypeScript 1.7",
|
|
"link": "/docs/handbook/release-notes/typescript-1-7"
|
|
},
|
|
{
|
|
"text": "TypeScript 1.6",
|
|
"link": "/docs/handbook/release-notes/typescript-1-6"
|
|
},
|
|
{
|
|
"text": "TypeScript 1.5",
|
|
"link": "/docs/handbook/release-notes/typescript-1-5"
|
|
},
|
|
{
|
|
"text": "TypeScript 1.4",
|
|
"link": "/docs/handbook/release-notes/typescript-1-4"
|
|
},
|
|
{
|
|
"text": "TypeScript 1.3",
|
|
"link": "/docs/handbook/release-notes/typescript-1-3"
|
|
},
|
|
{
|
|
"text": "TypeScript 1.1",
|
|
"link": "/docs/handbook/release-notes/typescript-1-1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Declaration Files",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "Introduction",
|
|
"link": "/docs/handbook/declaration-files/introduction"
|
|
},
|
|
{
|
|
"text": "Declaration Reference",
|
|
"link": "/docs/handbook/declaration-files/by-example"
|
|
},
|
|
{
|
|
"text": "Library Structures",
|
|
"link": "/docs/handbook/declaration-files/library-structures"
|
|
},
|
|
{
|
|
"text": ".d.ts Templates",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "Modules .d.ts",
|
|
"link": "/docs/handbook/declaration-files/templates/module-d-ts"
|
|
},
|
|
{
|
|
"text": "Module: Plugin",
|
|
"link": "/docs/handbook/declaration-files/templates/module-plugin-d-ts"
|
|
},
|
|
{
|
|
"text": "Module: Class",
|
|
"link": "/docs/handbook/declaration-files/templates/module-class-d-ts"
|
|
},
|
|
{
|
|
"text": "Module: Function",
|
|
"link": "/docs/handbook/declaration-files/templates/module-function-d-ts"
|
|
},
|
|
{
|
|
"text": "Global .d.ts",
|
|
"link": "/docs/handbook/declaration-files/templates/global-d-ts"
|
|
},
|
|
{
|
|
"text": "Global: Modifying Module",
|
|
"link": "/docs/handbook/declaration-files/templates/global-modifying-module-d-ts"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Do's and Don'ts",
|
|
"link": "/docs/handbook/declaration-files/do-s-and-don-ts"
|
|
},
|
|
{
|
|
"text": "Deep Dive",
|
|
"link": "/docs/handbook/declaration-files/deep-dive"
|
|
},
|
|
{
|
|
"text": "Publishing",
|
|
"link": "/docs/handbook/declaration-files/publishing"
|
|
},
|
|
{
|
|
"text": "Consumption",
|
|
"link": "/docs/handbook/declaration-files/consumption"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "JavaScript",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "JS Projects Utilizing TypeScript",
|
|
"link": "/docs/handbook/intro-to-js-ts"
|
|
},
|
|
{
|
|
"text": "Type Checking JavaScript Files",
|
|
"link": "/docs/handbook/type-checking-javascript-files"
|
|
},
|
|
{
|
|
"text": "JSDoc Reference",
|
|
"link": "/docs/handbook/jsdoc-supported-types"
|
|
},
|
|
{
|
|
"text": "Creating .d.ts Files from .js files",
|
|
"link": "/docs/handbook/declaration-files/dts-from-js"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "Project Configuration",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "What is a tsconfig.json",
|
|
"link": "/docs/handbook/tsconfig-json"
|
|
},
|
|
{
|
|
"text": "Compiler Options in MSBuild",
|
|
"link": "/docs/handbook/compiler-options-in-msbuild"
|
|
},
|
|
{
|
|
"text": "TSConfig Reference",
|
|
"link": "https://www.typescriptlang.org/tsconfig"
|
|
},
|
|
{
|
|
"text": "tsc CLI Options",
|
|
"link": "/docs/handbook/compiler-options"
|
|
},
|
|
{
|
|
"text": "Project References",
|
|
"link": "/docs/handbook/project-references"
|
|
},
|
|
{
|
|
"text": "Integrating with Build Tools",
|
|
"link": "/docs/handbook/integrating-with-build-tools"
|
|
},
|
|
{
|
|
"text": "Configuring Watch",
|
|
"link": "/docs/handbook/configuring-watch"
|
|
},
|
|
{
|
|
"text": "Nightly Builds",
|
|
"link": "/docs/handbook/nightly-builds"
|
|
}
|
|
]
|
|
}
|
|
]
|