Found 8 articles tagged with #typescript

How to Mimic Nominal Typing in TypeScript

You can overcome drawbacks of structural typing in TypeScript by creating nominal types with a little bit of extra code.

TypeScript Structural Typing

If the type is shaped like a duck, it is a duck. If a goose has all the same attributes as a duck, then it also is a duck.

TypeScript Type Aliases vs Interfaces

The key distinction is that a type cannot be re-opened to add new properties vs an interface which is always extendable.

Mar 08, 2022typescript

TypeScript Pros, Cons, Faqs, and Myths

Are you still skeptical about TypeScript? If that's the case then this post will help you make an informed decision.

Jun 03, 2021typescriptguides

How to Integrate TypeScript with Babel

A powerful combination between TypeScript and Babel will enable both type checking and complex JavaScript transformations.

Learn TypeScript with Redux Codebase

Redux open-source repository is one of the most beautiful well-documented beginner-friendly TypeScript codebase.

An Overview of TypeScript

TypeScript has become the obvious choice when you want to write statically-typed code that compiled to JavaScript.

Mar 28, 2021typescriptguides

Before Migrating to TypeScript

Things I wished I knew before migrating from JavaScript to TypeScript in complicated projects.