typescript

Understanding infer in TypeScript

The infer keyword and conditional typing in TypeScript allow us to take a type and isolate it for later use. Learn more here.
Simohamed Marhraoui
4 min read

Building a type-safe dictionary in TypeScript

In this article, we’ll cover how to build a type-safe dictionary using TypeScript in a few quick and easy-to-follow steps.
Gapur Kassym
4 min read

Exploring advanced compiler options in TypeScript

Learn advanced TypeScript compiler options such as strictPropertyInitialization, noImplicitThis, noImplicitReturns, and strictNullChecks.
Emmanuel John
5 min read

Adding TypeScript to an existing Svelte project

Explore three different bundlers that you can use to easily migrate TypeScript code into your Svelte project.
Gregory Pabian
4 min read

Make sharing TypeScript code and types quick and easy

Explore the ways you can save time and more easily share the TypeScript code and types you and your team need in this tutorial.
Ashley Davis
13 min read

Type flowing: Rethinking the TypeScript typing system

Learn how to "think with types" and use TypeScript advanced types to build strongly typed systems and make your code safer.
Yan Sun
8 min read

vanilla-extract tutorial: Create zero-runtime style sheets in TypeScript

vanilla-extract helps you create zero-runtime style sheets in TypeScript. Learn how by building and theming a demo app with React and webpack.
Julio Sampaio
8 min read

Creating a Chrome extension with React and TypeScript

Learn how Chrome extensions work and communicate, then see how to build one using the full power of React and TypeScript.
Juan Cruz Martinez
10 min read

Organizing TypeScript code using namespaces

TypeScript namespaces prevent bloated global scope and support distributed development. Learn when you'll need namespaces and how to use them.
Emmanuel John
3 min read

Improving TypeScript error handling with exhaustive type checking

Improve the readability of your TypeScript code with an improved approach to error handling that uses exhaustive type checking to implement type safety.
Alain Perkaz
4 min read

Babel vs. TypeScript: Choosing the right compiler for your…

Should you use Babel? TypeScript? Both? See how the two JavaScript compilers compare through performance, custom transformations, and more.
Gustav Wengel
3 min read

Build a GraphQL + React app with TypeScript

Build a fully functioning React app using the SpaceX GraphQL API with TypeScript. This tutorial will walk you through each step.
Trey Huffine
11 min read