All topics
General · Learning hub

TypeScript notes for developers

Master TypeScript with a curated set of 16 developer notes — core concepts, patterns, and interview prep. Maintained by the DevRecall team.

Save this stack to your DevRecallMore General notes
TypeScript

Interview Questions

TypeScript Interview Questions Comprehensive TypeScript interview questions covering type system, generics, utility types, and best practices: Fundamentals 1. W

TypeScript

Type System & Annotations

TypeScript Type System & Annotations TypeScript extends JavaScript by adding static type definitions. Types provide a way to describe the shape of objects, enab

TypeScript

Advanced Types (Generics & Utility Types)

TypeScript Advanced Types Generics // Generic function function identity<T>(arg: T): T { return arg; } const num = identity<number>(42); // Explicit const str =

TypeScript

Type Guards & Narrowing

TypeScript Type Guards & Narrowing Type Narrowing // typeof narrowing function padLeft(value: string, padding: string | number) { if (typeof padding === 'number

TypeScript

Decorators & Metadata

TypeScript Decorators & Metadata Decorators provide a way to add annotations and meta-programming syntax for class declarations and members. They are functions

TypeScript

Advanced Patterns

TypeScript Advanced Patterns Conditional Types // Basic conditional type type IsString<T> = T extends string ? true : false; type A = IsString<string>; // true

TypeScript

Enums & Literal Types

TypeScript Enums & Literal Types Enums Enums allow you to define a set of named constants, making it easier to document intent and create distinct cases. // Num

TypeScript

Configuration & Best Practices

TypeScript Configuration & Best Practices tsconfig.json Essentials { "compilerOptions": { // Language version "target": "ES2022", "lib": ["ES2022", "DOM"], // M

TypeScript

Configuration & Best Practices

TypeScript Configuration & Best Practices tsconfig.json Essentials { "compilerOptions": { // Language version "target": "ES2022", "lib": ["ES2022", "DOM"], // M

TypeScript

Advanced Patterns

TypeScript Advanced Patterns Conditional Types // Basic conditional type type IsString<T> = T extends string ? true : false; type A = IsString<string>; // true

TypeScript

Type System & Annotations

TypeScript Type System & Annotations TypeScript extends JavaScript by adding static type definitions. Types provide a way to describe the shape of objects, enab

TypeScript

Advanced Types (Generics & Utility Types)

TypeScript Advanced Types Generics // Generic function function identity<T>(arg: T): T { return arg; } const num = identity<number>(42); // Explicit const str =

TypeScript

Type Guards & Narrowing

TypeScript Type Guards & Narrowing Type Narrowing // typeof narrowing function padLeft(value: string, padding: string | number) { if (typeof padding === 'number

TypeScript

Interview Questions

TypeScript Interview Questions Comprehensive TypeScript interview questions covering type system, generics, utility types, and best practices: Fundamentals 1. W

TypeScript

Decorators & Metadata

TypeScript Decorators & Metadata Decorators provide a way to add annotations and meta-programming syntax for class declarations and members. They are functions

TypeScript

Enums & Literal Types

TypeScript Enums & Literal Types Enums Enums allow you to define a set of named constants, making it easier to document intent and create distinct cases. // Num

Keep your TypeScript knowledge sharp.

Save this stack to your personal DevRecall — add your own notes, track what you're learning, and share what you know with the community.

Get started — free forever