Skip to content

πŸ“ TypeScript Content Structure Overview

Location: dsa-docs/src/content/docs/typescript/ Total Files: 60+ files across 10+ sections

typescript/
β”œβ”€β”€ πŸ“„ introduction.md
β”œβ”€β”€ πŸ“„ setup.md
β”œβ”€β”€ πŸ“„ tsconfig.md
β”œβ”€β”€ πŸ“„ roadmap.md
β”œβ”€β”€ πŸ“„ cheatsheet.md
β”œβ”€β”€ πŸ“„ interview-questions.md
β”‚
β”œβ”€β”€ πŸ“‚ basic-types/ (3 files)
β”‚ β”œβ”€β”€ primitive-types.md
β”‚ β”œβ”€β”€ arrays-and-tuples.md
β”‚ └── special-types.md
β”‚
β”œβ”€β”€ πŸ“‚ functions-section/ (3 files)
β”‚ β”œβ”€β”€ function-annotations.md
β”‚ β”œβ”€β”€ function-overloads.md
β”‚ └── async-functions.md
β”‚
β”œβ”€β”€ πŸ“‚ interfaces-section/ (3 files)
β”‚ β”œβ”€β”€ extending-interfaces.md
β”‚ β”œβ”€β”€ declaration-merging.md
β”‚ └── interface-vs-type.md
β”‚
β”œβ”€β”€ πŸ“‚ objects-section/ (4 files)
β”‚ β”œβ”€β”€ property-modifiers.md
β”‚ β”œβ”€β”€ index-signatures.md
β”‚ β”œβ”€β”€ excess-property-checks.md
β”‚ └── nested-objects.md
β”‚
β”œβ”€β”€ πŸ“‚ generics-section/ (2 files)
β”‚ β”œβ”€β”€ generic-constraints.md
β”‚ └── generic-patterns.md
β”‚
β”œβ”€β”€ πŸ“‚ advanced-types/ (6 files)
β”‚ β”œβ”€β”€ template-literal-types.md
β”‚ β”œβ”€β”€ satisfies-operator.md
β”‚ β”œβ”€β”€ assertion-functions.md
β”‚ β”œβ”€β”€ async-await.md (types)
β”‚ β”œβ”€β”€ error-handling.md (types)
β”‚ └── type-branding.md
β”‚
β”œβ”€β”€ πŸ“‚ react-section/ (6 files)
β”‚ β”œβ”€β”€ react-props-types.md
β”‚ β”œβ”€β”€ react-hooks-types.md
β”‚ β”œβ”€β”€ react-event-types.md
β”‚ β”œβ”€β”€ react-context-types.md
β”‚ β”œβ”€β”€ react-custom-hooks.md
β”‚ └── react-state-management.md
β”‚
β”œβ”€β”€ πŸ“‚ node-section/ (5 files)
β”‚ β”œβ”€β”€ node-express-types.md
β”‚ β”œβ”€β”€ node-middleware-types.md
β”‚ β”œβ”€β”€ node-database-types.md
β”‚ β”œβ”€β”€ node-dto-patterns.md
β”‚ └── node-error-handling.md
β”‚
β”œβ”€β”€ πŸ“‚ angular-section/ (4 files)
β”‚ β”œβ”€β”€ angular-di-types.md
β”‚ β”œβ”€β”€ angular-forms-types.md
β”‚ β”œβ”€β”€ angular-rxjs-types.md
β”‚ └── angular-services-types.md
β”‚
β”œβ”€β”€ πŸ“„ (root files) (20 files)
β”‚ β”œβ”€β”€ basic-types.md, enums.md, generics.md, interfaces.md
β”‚ β”œβ”€β”€ unions.md, intersections.md, literal-types.md
β”‚ β”œβ”€β”€ type-aliases.md, type-guards.md, type-inference.md
β”‚ β”œβ”€β”€ objects.md, functions.md, modules.md, namespaces.md
β”‚ β”œβ”€β”€ conditional-types.md, mapped-types.md, indexed-access-types.md
β”‚ β”œβ”€β”€ decorators.md, declaration-files.md
β”‚ β”œβ”€β”€ utility-types.md, advanced-generics.md
β”‚ β”œβ”€β”€ react-typescript.md, angular-typescript.md, node-typescript.md
β”‚ └── interview-questions.md
SectionFilesKey Concepts
Root20+Basic/types, enums, generics, interfaces, unions, intersections, conditional/mapped types, utility types, decorators, modules
Basic Types3Primitives, arrays/tuples, special types (any, unknown, never, void)
Functions3Annotations, overloads, async functions
Interfaces3Extending, declaration merging, interface vs type alias
Objects4Property modifiers, index signatures, excess property checks, nested
Generics2Constraints, patterns
Advanced Types6Template literal types, satisfies operator, assertion functions, branding
React Section6Props, hooks, events, context, custom hooks, state management types
Node Section5Express, middleware, database, DTO patterns, error handling types
Angular Section4DI, forms, RxJS, services types

File Count: 60+ files | Created: July 3, 2026