TypeScript Union Type vs Enum: A Comprehensive Comparison

Typescript
TypeScript Enums or Union Types: Which One Should You Use?
Union Types vs Enums in TypeScript: Choosing the Right Approach for Your Codebase
TypeScript | Union Types vs Enums - Become A Better Programmer
Learn the difference between using union types and enums in TypeScript with simple examples, as well as understanding when to use one or the other
My sales pitch for TypeScript
Roughly, TypeScript is JavaScript plus type information. The latter is removed before TypeScript code is executed by JavaScript engines. Therefore, writing and deploying TypeScript is more work. Is that added work worth it? In this blog post, I’m going to argue that yes, it is. Read it if you are skeptical about TypeScript but interested in giving it a chance.
Tip: React has Type Helpers
Using React type helpers to clean up boilerplate code and make code more robust.
Extending the Properties of HTML elements in React and TypeScript
Extending the properties of HTML elements in React with TypeScript allows you to create reusable and type-safe components that enhance the functionality of standard HTML elements.
Typescript: Five most useful utility types for React
Let's explore TypeScript utility types for React. Utility types are a powerful feature for constructing new types.
Exploring React Omit: Everything You Need to Know
Learn how developers can write more predictable code with React omit.
A Guide on TypeScript Omit Type | Refine
We'll dive into the TypeScript Omit utility type with examples
tsconfig/bases: Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment
Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment - tsconfig/bases
README | TypeScript Deep Dive
GitHub - juliencrn/usehooks-ts: React hook library, ready to use, written in Typescript.
React hook library, ready to use, written in Typescript. - GitHub - juliencrn/usehooks-ts: React hook library, ready to use, written in Typescript.
How to Do a TypeScript Conversion — Sympolymathesy, by Chris Krycho
Addressing a very common question: do-it-as-you-go or follow the dependency graph?
TypeScript Function Types: A Beginner's Guide
Are you struggling to understand TypeScript function types? Look no further! This comprehensive guide covers everything you need to know.
GitHub - gibbok/typescript-book: The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.
The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source. - GitHub - gibbok/typescript-book: The Concise TypeScript Book: A Concise Guide to Effecti...
Building Complex Types in TypeScript
Part 1: Building Blocks
TypeScript Generics – Use Case and Examples
In this tutorial, you'll learn the basics of generics in TypeScript. We'll discuss how to use them and when they're useful in your code. Use Case for Generics Let's start with a simple example, where you want to print the value of an argument passed: function printData(data: number) {
Learn TypeScript: Types Cheatsheet | Codecademy
Learn TypeScript: Type Narrowing Cheatsheet | Codecademy
A quick introduction to “Type Declaration” files and adding type support to your JavaScript…
In this lesson, we are going to take a closer look at type declaration files which are one of the key ingredients of TypeScript’s…
Understanding and using interfaces in TypeScript - LogRocket Blog
Editor’s note: This post was updated on 9 September 2022 to provide general updates to the content and include information about callable interfaces and using interfaces in Angular. TypeScript has taken the JavaScript world by storm, allowing teams to work smarter by adding robust typing features. These typing features allow our code to be more descriptive […]
Tackling TypeScript
FREE TypeScript course for JavaScript developers
A FREE TypeScript course for JavaScript developers. Covers beginner topics through to advanced and has quizzes in each module to reinforce knowledge. By the end of the course you will be well on your way to becoming an expert in TypeScript!
TypeScript: Handbook - The TypeScript Handbook
Setting Up Your TypeScript Development Environment - Beginners Guide to TypeScript
Einführung in ts-node
TypeScript Code direkt ausführen, ohne zuerst JavaScript Code zu erzeugen, das geht mit Tools wie ts-node. Wie man das verwenden kann und was man beachten muss, sehen wir uns anhand eines Beispiels für ein einfaches Automatisierungsscript an.
Beginner's TypeScript Tutorial
Free interactive video tutorial that will help you get started with TypeScript.
Getting started with... TypeScript
A look at how to get started with TypeScript.
Tackling TypeScript: Upgrading from JavaScript