TypeScript: Improving Object.keys
Explains a TypeScript issue with Object.keys and proposes solutions for better type safety when iterating over object properties.
Explains a TypeScript issue with Object.keys and proposes solutions for better type safety when iterating over object properties.
A beginner's guide to Deno, a secure JavaScript/TypeScript runtime, covering its benefits and how to start using it.
An in-depth look at how type system compilers like TypeScript work, focusing on type checks and building a custom compiler.
How using ESLint, Prettier, and TypeScript as static analysis tools can help eliminate common bugs in JavaScript development.
Explains how to correctly type a custom React hook to return a tuple instead of an array, fixing TypeScript type inference issues.
Explains how to use TypeScript assertion signatures with Object.defineProperty to properly type dynamically added object properties.
A guide to using type predicates and helper functions in TypeScript to safely check for object properties and narrow types.
Learn to configure Babel Module Resolver with TypeScript for path aliases in your project.
A guide on how to start adding tests to a large, existing codebase, focusing on the Testing Trophy methodology for the best return on investment.
Explains boolean values in JavaScript and TypeScript, including truthy/falsy values, the Boolean function, and TypeScript's boolean type.
Explains the void operator in JavaScript and the void type in TypeScript, highlighting their differences and common use cases.
An explanation of the Symbol primitive in JavaScript and TypeScript, covering creation, uniqueness, and use cases.
A developer explains their journey from skepticism to embracing TypeScript, highlighting its benefits for modern JavaScript development.
A guide to extending TypeScript's JSX interfaces for React to support new HTML attributes like lazy loading.
Explains how to validate mapped types and use const context in TypeScript for better type safety with object keys.
A TypeScript guide on using conditional types to enforce exact object shapes, preventing extra properties.
Explains the constructor interface pattern in TypeScript to solve instantiation issues with abstract classes in structural typing.
A guide exploring 5 popular ways to style React components with TypeScript, focusing on type safety and integration.
The author has added a new chapter on render props to their existing TypeScript and React guide.
A guide on using TypeScript with React to improve development with type safety, autocompletion, and better tooling.