Tag: typescript

Generating Json Schema From Typescript Types

Generating JSON Schema from TypeScript types

Dev

Generating JSON Schema from TypeScript types can help prevent errors and improve security when transmitting complex data between applications.

Ikeh Akinyemi
Jul 6, 2023 ⋅ 5 min read
Types vs. Interfaces in TypeScript

Types vs. interfaces in TypeScript

Dev

It can be difficult to choose between types and interfaces in TypeScript, but in this post, you’ll learn which to use in specific use cases.

Yan Sun
Jun 28, 2023 ⋅ 8 min read
Understanding FlatMap Other TypeScript Arrays

Understanding flatMap() and other TypeScript arrays

Dev

We explore how the TypeScript flatmap() method can help to simplify code that involves mapping and flattening arrays.

Muhammed Ali
Jun 28, 2023 ⋅ 7 min read
Declaring JSX Types TypeScript

Declaring JSX types in TypeScript 5.1

Dev

We discuss a new TypeScript 5.1 feature: decoupled type-checking between JSX elements and JSX tag types. Learn what it is and why it matters.

John Reilly
Jun 26, 2023 ⋅ 3 min read
How to debug TypeScript in Chrome

How to debug TypeScript in Chrome

Dev

Learn how to debut apps written in TypeScript (both frontend and backend, as well as using Node.js and Deno) using Chrome DevTools.

Shalitha Suranga
Jun 22, 2023 ⋅ 13 min read
Filtering value types in TypeScript

Filtering TypeScript value types

Dev

Learn how TypeScript filters work, including array filters and value types, as well as how to use and avoid issues with type guards.

Stanley Ulili
Jun 21, 2023 ⋅ 5 min read
Understanding TypeScript Generators

Understanding TypeScript generators

Dev

Generator functions look like normal functions, but they behave a little differently, allowing you to pause and execute your code at a later point in time.

Debjyoti Banerjee
Jun 19, 2023 ⋅ 6 min read
Level Up TypeScript Record Types

Level up your TypeScript with Record types

Dev

We explore the basic usage of the TypeScript Record type alongside two use cases, including how to use it with generics.

Matteo Di Pirro
Jun 19, 2023 ⋅ 5 min read
TypeScript Enums Vs. Types: Enhancing Code Readability

TypeScript enums vs. types: Enhancing code readability

Dev

In this article, we will be exploring how TypeScript enums and types work, why, and how to use them in your next project.

Nwose Lotanna
Jun 16, 2023 ⋅ 9 min read
Building A REST API With Firebase Cloud Functions, TypeScript, And Firestore

Building a REST API with Firebase Cloud Functions, TypeScript, and Firestore

Dev

Learn how to build a REST API with Firebase Cloud Functions, TypeScript, and Firestore, and compare it to the Realtime Database.

Ebenezer Don
Jun 15, 2023 ⋅ 21 min read
A Guide To Using Ts-Reset For TypeScript

A guide to using ts-reset for TypeScript

Dev

Use the ts-reset utility package to solve a number of default TypeScript typing issues that might result in bugs.

Chibuike Nwachukwu
Jun 14, 2023 ⋅ 3 min read
Exploring Use Cases of TypeScript's Tuples

Exploring use cases for TypeScript tuples

Dev

In this tutorial, we will cover some real-world use cases and applications for working with named tuples in TypeScript.

Alexander Nnakwue
Jun 14, 2023 ⋅ 9 min read