Announcing the TypeScript Cookbook
Author announces 'The TypeScript Cookbook', a new O'Reilly book for 2023 providing practical solutions for everyday TypeScript problems.
Author announces 'The TypeScript Cookbook', a new O'Reilly book for 2023 providing practical solutions for everyday TypeScript problems.
A tutorial explaining how to implement and use user-defined type guards in TypeScript to conditionally apply logic based on variable types.
A tutorial explaining TypeScript Generics, starting with basic functions and progressing to abstract, reusable code.
A guide on using TypeScript with React's useState Hook, covering type inference and explicit type arguments for complex state.
A guide on using React's useRef Hook with TypeScript, covering HTML element refs and mutable instance variables.
Explains the challenges of iterating over object keys in TypeScript and provides solutions for type-safe property access.
Explains the React 'as' prop, a technique for dynamically changing rendered HTML elements in components for semantic and styling flexibility.
A TypeScript talk write-up on creating advanced types for the Commander.js library to improve CLI development safety and developer experience.
Common mistakes to avoid when learning TypeScript, especially for developers with JavaScript or other language backgrounds.
Explores TypeScript function overloads, their limitations, and how newer features like variadic tuple types offer better solutions.
Explains how to properly handle and type error messages in TypeScript catch blocks, which default to the 'unknown' type.
Article discusses broken TypeScript type checking for React children, allowing invalid objects that cause runtime errors.
A defense of using the 'any' type in TypeScript, arguing it's a practical tool for migration, third-party libraries, and development flexibility.
A technical deep-dive into the Deno JavaScript runtime, exploring its architecture, similarities to Node.js, and use of Rust and V8.
Explains a TypeScript error where assigning object properties results in a 'never' type due to unexpected intersection types.
Explains a TypeScript type narrowing issue with Array.includes when using const assertions and how to work around it.
A technical guide on how to correctly type generic React components that use forwardRef in TypeScript for enhanced type safety.
Discusses the problems with vague module names like 'shared' and 'util' in software architecture and suggests more descriptive alternatives.
A guide on writing React components in TypeScript, covering prop typing and avoiding common pitfalls like React.FC.
A guide to using a Constrained Identity Function (CIF) in TypeScript to improve type safety for objects like a calculator's operations.