Caution
JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.
Dictionary
- Home
- TypeScript Dictionary
TypeScript Dictionary Index
| [Setup] TypeScript Development Environment | Setup instructions for installing and running TypeScript. |
| string / number / boolean | The three major primitive types in TypeScript. |
| null / undefined / void | Three types that represent the absence of a value. |
| any / unknown / never | Special types related to type safety. |
| object / array / tuple | Fundamentals of composite types. |
| enum | Enumeration types. |
| Type Annotation / Type Inference | Where to write types and how automatic type inference works. |
| type | Type aliases. |
| interface | Defines the shape of an object type. |
| Union Type | | A type that is either A or B. |
| Intersection Type & | A type that is both A and B. |
| Literal Types | Uses a specific value itself as a type. |
| Template Literal Types | Uses a string pattern as a type. |
| Conditional Type T extends U ? X : Y | Conditional branching at the type level. |
| Mapped Type { [K in keyof T]: ... } | Generates a new type from an existing type. |
| Generics Basics <T> | A mechanism that accepts a type as a parameter. |
| Generic Constraints extends | Adds constraints to a type parameter. |
| Generics with interface / class | Applies generics to classes and interfaces. |
| keyof / typeof | Operators that work at the type level. |
| Index Access Type T[K] | Extracts a property of a type as a type. |
| Partial<T> / Required<T> | Makes all properties optional or required. |
| Readonly<T> / ReadonlyArray<T> | Makes properties read-only. |
| Pick<T, K> / Omit<T, K> | Selects or excludes specific properties from a type. |
| Record<K, V> | An object type with specified key and value types. |
| Exclude<T, U> / Extract<T, U> | Filters union types. |
| NonNullable<T> / ReturnType<T> / Parameters<T> | Utility types for functions and null-related operations. |
| typeof Guard | Narrows the type of primitive values. |
| instanceof Guard | Narrows the type of class instances. |
| in Operator Guard | Narrows the type by checking for property existence. |
| User-Defined Type Guard is | Creates a custom type guard function. |
| Assertion Function asserts | A type guard that throws an error when a condition is not met. |
| Class Type Annotations | Defines a class in TypeScript. |
| Access Modifiers public / private / protected | Restricts the access scope of class members. |
| abstract Class / Abstract Methods | A base class that enforces implementation in subclasses. |
| implements | Implements an interface in a class. |
| override / Method Overriding | Safely overrides a method from a parent class. |
| Promise<T> / async / await Types | Type annotations for asynchronous processing. |
| import type / export type | Imports or exports only type information. |
| Declaration Files .d.ts | How type declaration files work. |
| namespace / module | TypeScript-specific module management. |
| infer | Infers and extracts types within conditional types. |
| Recursive Types | A type that references itself. |
| Advanced Template Literal Types | Built-in utility types for string manipulation. |
| satisfies Operator | Performs type checking while preserving type inference. |
| tsconfig.json Key Options | A configuration file that controls compiler behavior. |
| strict Mode Options | Individual flags enabled by strict: true. |