My Learning Curve

Feed

Total TypeScript

Latest entries from Total TypeScript.

Source: https://www.totaltypescript.com

How To Create An NPM Package (article)

Aug 21, 2024

Learn how to publish a package to npm with a complete setup including, TypeScript, Prettier, Vitest, GitHub Actions, and versioning with Changesets.

Why I Don't Like Enums (article)

Aug 14, 2024

Enums in TypeScript can be confusing, with differences between numeric and string enums causing unexpected behaviors.

How To Use Corepack (article)

Jun 2, 2024

Learn how to use `corepack` to configure package managers in Node.js projects, ensuring you always use the correct one.

TypeScript Pro Essentials (workshop)

Apr 8, 2024

Learn TypeScript by setting up a pro environment, using advanced IDE features, and mastering type annotations, unions, object types, inference, and generics.

How To Type Array.reduce (article)

Mar 13, 2024

Learn how to handle errors when using Array.reduce to transform arrays into objects in TypeScript. Fix the error by annotating types or using type arguments.

Solving TypeScript Errors (tutorial)

Nov 30, 2023

TypeScript boosts productivity but faces pitfalls like type mismatches, null values, & puzzling errors. Learn to spot & solve these for swift progress.

Type Predicates (tip)

Nov 1, 2023

Understand how Type Predicates work in TypeScript, using an example of filtering a mixed array of elements.

The TSConfig Cheat Sheet (article)

Sep 13, 2023

Learn the essential TypeScript configuration options and create a concise tsconfig.json file for your projects with this helpful cheatsheet.

React with TypeScript (tutorial)

May 1, 2023

Get productive building applications with React and TypeScript with our interactive guide on React's types - from component props to useRef.

How to test your types (article)

Apr 25, 2023

Testing types is a crucial aspect of developing libraries in TypeScript. In this article, we explore three different ways to test your types.

How to Name your Types (tip)

Apr 12, 2023

How to name your types in TypeScript can be a tricky business. Matt takes you through his opinionated heuristics for how to decide.

When should you use Zod? (article)

Jan 7, 2023

Use Zod to validate unknown inputs in your app, whether it's a CLI or a public API, to ensure that data entering your app is safe.

TypeScript Generics (workshop)

Nov 28, 2022

Master TypeScript's generics with exercises from basics to advanced, including conditional types and currying.

Type Transformations (workshop)

Nov 1, 2022

Learn to manipulate types for cleaner, maintainable code with over 50 hands-on exercises, from string manipulation to advanced unions and mapped types.