TypeScript API Manual
Guide
Section
- Introduction - Symbols
- Well-known Symbols - Symbols
- Introduction - Decorators
- Decorators - Decorators
- Introduction - Generics
- Hello World of Generics - Generics
- Working with Generic Type Variables - Generics
- Generic Types - Generics
- Generic Classes - Generics
- Generic Constraints - Generics
- Lay out the project - React & Webpack
- Initialize the project - React & Webpack
- Install our dependencies - React & Webpack
- Add a TypeScript configuration file - React & Webpack
- Write some code - React & Webpack
- Create a webpack configuration file - React & Webpack
- Putting it all together - React & Webpack
- Enums - Enums
- Introduction - Namespaces and Modules
- Using Modules - Namespaces and Modules
- Using Namespaces - Namespaces and Modules
- Pitfalls of Namespaces and Modules - Namespaces and Modules
- Introduction - Functions
- Functions - Functions
- Function Types - Functions
- Optional and Default Parameters - Functions
- Rest Parameters - Functions
- this - Functions
- Overloads - Functions
- Definition File Theory: A Deep Dive - Deep Dive
- General Types - Do's and Don'ts
- Callback Types - Do's and Don'ts
- Function Overloads - Do's and Don'ts
- Overview - Library Structures
- Identifying Kinds of Libraries - Library Structures
- Consuming Dependencies - Library Structures
- Footnotes - Library Structures
- Downloading - Consumption
- Consuming - Consumption
- Searching - Consumption
- Including declarations in your npm package - Publishing
- Publish to @types - Publishing
- Introduction - By Example
- The Examples - By Example
- Sections - Introduction
- Introduction - Modules
- Export - Modules
- Import - Modules
- Default exports - Modules
- export = and import = require() - Modules
- Code Generation for Modules - Modules
- Simple Example - Modules
- Optional Module Loading and Other Advanced Loading Scenarios - Modules
- Working with Other JavaScript Libraries - Modules
- Guidance for structuring modules - Modules
- ASP.NET Core + TypeScript - ASP.NET Core
- Introduction - Interfaces
- Our First Interface - Interfaces
- Optional Properties - Interfaces
- Readonly properties - Interfaces
- Excess Property Checks - Interfaces
- Function Types - Interfaces
- Indexable Types - Interfaces
- Class Types - Interfaces
- Extending Interfaces - Interfaces
- Hybrid Types - Interfaces
- Interfaces Extending Classes - Interfaces
- Table of contents - Advanced Types
- Intersection Types - Advanced Types
- Union Types - Advanced Types
- Type Guards and Differentiating Types - Advanced Types
- Nullable types - Advanced Types
- Type Aliases - Advanced Types
- String Literal Types - Advanced Types
- Numeric Literal Types - Advanced Types
- Enum Member Types - Advanced Types
- Discriminated Unions - Advanced Types
- Polymorphic this types - Advanced Types
- Index types - Advanced Types
- Mapped types - Advanced Types
- Conditional Types - Advanced Types
- Introduction - Type Inference
- Basics - Type Inference
- Best common type - Type Inference
- Contextual Typing - Type Inference
- Introduction - Declaration Merging
- Basic Concepts - Declaration Merging
- Merging Interfaces - Declaration Merging
- Merging Namespaces - Declaration Merging
- Merging Namespaces with Classes, Functions, and Enums - Declaration Merging
- Disallowed Merges - Declaration Merging
- Module Augmentation - Declaration Merging
- Variable Declarations - Variable Declarations
- var declarations - Variable Declarations
- let declarations - Variable Declarations
- const declarations - Variable Declarations
- let vs. const - Variable Declarations
- Destructuring - Variable Declarations
- Setting up your Directories - Migrating from JavaScript
- Writing a Configuration File - Migrating from JavaScript
- Integrating with Build Tools - Migrating from JavaScript
- Moving to TypeScript Files - Migrating from JavaScript
- Babel - Integrating with Build Tools
- Browserify - Integrating with Build Tools
- Duo - Integrating with Build Tools
- Grunt - Integrating with Build Tools
- Gulp - Integrating with Build Tools
- Jspm - Integrating with Build Tools
- Webpack - Integrating with Build Tools
- MSBuild - Integrating with Build Tools
- NuGet - Integrating with Build Tools
- Table of contents - Namespaces
- Introduction - Namespaces
- First steps - Namespaces
- Namespacing - Namespaces
- Splitting Across Files - Namespaces
- Aliases - Namespaces
- Working with Other JavaScript Libraries - Namespaces
- Supported JSDoc - Type Checking JavaScript Files
- Introduction - Type Compatibility
- Starting out - Type Compatibility
- Comparing two functions - Type Compatibility
- Enums - Type Compatibility
- Classes - Type Compatibility
- Generics - Type Compatibility
- Advanced Topics - Type Compatibility
- Table of Contents - Basic Types
- Introduction - Basic Types
- Boolean - Basic Types
- Number - Basic Types
- String - Basic Types
- Array - Basic Types
- Tuple - Basic Types
- Enum - Basic Types
- Any - Basic Types
- Void - Basic Types
- Null and Undefined - Basic Types
- Never - Basic Types
- Object - Basic Types
- Type assertions - Basic Types
- A note about let - Basic Types
- Table of contents - Mixins
- Introduction - Mixins
- Mixin sample - Mixins
- Understanding the sample - Mixins
- Introduction - Classes
- Classes - Classes
- Inheritance - Classes
- Public, private, and protected modifiers - Classes
- Readonly modifier - Classes
- Accessors - Classes
- Static Properties - Classes
- Abstract Classes - Classes
- Advanced Techniques - Classes
- Introduction - Utility Types
- Partial<T> - Utility Types
- Readonly<T> - Utility Types
- Record<K,T> - Utility Types
- Pick<T,K> - Utility Types
- Omit<T,K> - Utility Types
- Exclude<T,U> - Utility Types
- Extract<T,U> - Utility Types
- NonNullable<T> - Utility Types
- Parameters<T> - Utility Types
- ConstructorParameters<T> - Utility Types
- ReturnType<T> - Utility Types
- InstanceType<T> - Utility Types
- Required<T> - Utility Types
- ThisParameterType - Utility Types
- OmitThisParameter - Utility Types
- ThisType<T> - Utility Types
- An Example Project - Project References
- What is a Project Reference? - Project References
- composite - Project References
- declarationMaps - Project References
- prepend with outFile - Project References
- Caveats for Project References - Project References
- Build Mode for TypeScript - Project References
- Caveats - Project References
- MSBuild - Project References
- Guidance - Project References
- Table of contents - JSX
- Introduction - JSX
- Basic usage - JSX
- The as operator - JSX
- Type Checking - JSX
- The JSX result type - JSX
- Embedding Expressions - JSX
- React integration - JSX
- Factory Functions - JSX
- Iterables - Iterators and Generators
- Minimal project - Gulp
- Add modules to the code - Gulp
- Browserify - Gulp
- Watchify, Babel, and Uglify - Gulp