Tag: typescript

Generate TypeScript And C# Clients With NSwag Based On An API

Generate TypeScript and C# clients with NSwag based on an API

Dev

Learn how to generate TypeScript and C# API clients with NSwag to reduce your workload when building a project.

John Reilly
May 26, 2023 ⋅ 8 min read

Using ArkType for TypeScript runtime validation

Dev

Learn about ArkType, a new library for TypeScript that parses type definitions into strings and converts them to state objects.

Yan Sun
May 22, 2023 ⋅ 7 min read
Using TypeScript With Redux Toolkit

Using TypeScript with Redux Toolkit

Dev

In this tutorial, we learn how to set up and use TypeScript with Redux Toolkit, which makes implementing Redux less tedious.

Olasunkanmi John Ajiboye
May 10, 2023 ⋅ 6 min read
Getting Started With the TypeScript Satisfies Operator

Getting started with the TypeScript satisfies operator

Dev

The TypeScript satisfies operator is a new and better approach to type-safe configuration in TypeScript released in TypeScript v4.9.

Temitope Oyedele
May 5, 2023 ⋅ 5 min read
When To Use Never And Unknown In TypeScript

When to use never and unknown in TypeScript

Dev

Explore TypeScript types, including `never` and `unknown`, as well as type assertions and type guards.

Jesse Hallett
May 2, 2023 ⋅ 9 min read
Publishing Node Modules With TypeScript And ES Modules

Publishing Node modules with TypeScript and ES modules

Dev

Write and publish Node modules using TypeScript and ES modules so you can provide an easy experience for the consumers of your package.

Jack Franklin
May 1, 2023 ⋅ 11 min read
Using the TypeScript generic type to create reusable components

Using TypeScript generics to create reusable components

Dev

Learn how to use generic TypeScript types to create reusable components, ensure type safety, and make your code more readable in this post.

Ishan Manandhar
May 1, 2023 ⋅ 7 min read
Using Modern Decorators TypeScript

Using modern decorators in TypeScript

Dev

Decorators in TypeScript 5.0 offers many benefits. Walk through a demo and learn how to refactor existing decorators.

Alec Brunelle
Apr 28, 2023 ⋅ 6 min read
Using Next.js With TypeScript

Using Next.js with TypeScript

Dev

In this tutorial, we’ll demonstrate how to use Next.js with TypeScript to build high-quality, search-optimized, and predictable apps.

Ibrahima Ndaw
Apr 24, 2023 ⋅ 13 min read
Setting Up A Monorepo With Lerna For A TypeScript Project

Setting up a monorepo with Lerna for a TypeScript project

Dev

Learn the process for how to set up a monorepo with Lerna and configure it for TypeScript, as well as alternatives tools to Lerna.

Vlado Tesanovic
Apr 21, 2023 ⋅ 8 min read

Pattern matching and type safety in TypeScript

Dev

Although TypeScript doesn’t have native pattern matching, its community has created several pattern matching libraries that offer more expressive and concise ways to perform pattern matching.

Michal Zalecki
Apr 18, 2023 ⋅ 8 min read
Building a TypeScript CLI with Node.js and Commander

Building a TypeScript CLI with Node.js and Commander

Dev

Learn how to use Commander with TypeScript to build powerful CLIs.

Stanley Ulili
Apr 13, 2023 ⋅ 18 min read