Strongly Typed pipe()/compose() (Variadic Tuples vs Overloads)
How to type function pipelines like a library author: overloads, variadic tuples, inference boundaries, and what interviewers really want to see.
Practice
Search by concept, narrow to a roadmap, or pick a tag to focus on the exact topic you want to rehearse.
30 articles · page 2 of 4
How to type function pipelines like a library author: overloads, variadic tuples, inference boundaries, and what interviewers really want to see.
How to publish different entry points for Node vs browser (or edge) using package.json exports conditions, without breaking TypeScript consumers.
How to use tsconfig paths safely across Next.js, bundlers, Node scripts, and tsc builds—without ‘works locally, fails in prod’.
How TypeScript resolves imports in modern toolchains, when to use NodeNext vs bundler, and how flags like verbatimModuleSyntax affect real projects.
How to structure multi-entry TypeScript packages with package.json exports, prevent deep imports, and ship correct .d.ts for consumers.
Understand what TypeScript emits vs what Node runs, and how to avoid the common import/export traps in real codebases.
How to validate TypeScript types, design safer APIs, and avoid unsafe assertions—interview-ready patterns.
Interview-focused advanced generics: overloads, inference patterns, variance basics, and designing ergonomic typed APIs.
How keyof + mapped types work, and how template literal types unlock powerful typed APIs.