DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Chinese npm package 汉译英

Chinese npm package 汉译英

Comments
3 min read
OSD700: Unit Tests & Code Reviews

OSD700: Unit Tests & Code Reviews

2
Comments
1 min read
Fullstack Application using tRPC, Next.js, Tailwind and Prisma

Fullstack Application using tRPC, Next.js, Tailwind and Prisma

5
Comments
8 min read
MongooseMap in Express and NestJS

MongooseMap in Express and NestJS

3
Comments
3 min read
Slicing Data with Tanstack Query

Slicing Data with Tanstack Query

1
Comments
4 min read
Interested in latest HTTP response? Use RxJS SwitchMap operator

Interested in latest HTTP response? Use RxJS SwitchMap operator

2
Comments
3 min read
Generic Types in TypeScript

Generic Types in TypeScript

4
Comments
3 min read
Creating Cognito User with Auto-Incrementing ID

Creating Cognito User with Auto-Incrementing ID

2
Comments
6 min read
Declarative and inferable types way in React Redux

Declarative and inferable types way in React Redux

Comments
5 min read
Index signature in TypeScript

Index signature in TypeScript

2
Comments 1
4 min read
Why Should You Prefer TypeScript over JavaScript in React.JS?

Why Should You Prefer TypeScript over JavaScript in React.JS?

7
Comments
2 min read
Expose Your Currently Listening Song on Your Profile with Last.fm Profile Readme

Expose Your Currently Listening Song on Your Profile with Last.fm Profile Readme

2
Comments
2 min read
The easiest way to use HubSpot Search API

The easiest way to use HubSpot Search API

2
Comments
1 min read
Protect Your Express.js App from XSS Attacks

Protect Your Express.js App from XSS Attacks

3
Comments
2 min read
Angular & signals. Everything you need to know.

Angular & signals. Everything you need to know.

234
Comments 49
23 min read
How to rewrite a promise-based function with loops to RxJS observables

How to rewrite a promise-based function with loops to RxJS observables

Comments
3 min read
Typescript: Enums

Typescript: Enums

190
Comments 18
2 min read
Getting Started with TypeScript

Getting Started with TypeScript

4
Comments
3 min read
Superpowers with Directives and Dependency Injection: Part 3

Superpowers with Directives and Dependency Injection: Part 3

18
Comments 6
5 min read
[JS/TS] Don't declare regex with flags in an object property

[JS/TS] Don't declare regex with flags in an object property

Comments
3 min read
Learning TypeScript with Exercism

Learning TypeScript with Exercism

5
Comments 11
1 min read
Yup conditional validations for different scenarios but the same form

Yup conditional validations for different scenarios but the same form

2
Comments
3 min read
React: bad habits

React: bad habits

24
Comments 7
3 min read
Unleashing the Power of Typescript's Mapped Types

Unleashing the Power of Typescript's Mapped Types

Comments
2 min read
Node with Docker (JS/TS)

Node with Docker (JS/TS)

1
Comments
3 min read
Setting Up a Vanilla TypeScript Project

Setting Up a Vanilla TypeScript Project

12
Comments 1
3 min read
How to create an API layer with React Hooks and TypeScript…and why

How to create an API layer with React Hooks and TypeScript…and why

12
Comments 3
8 min read
API with Typescript + Nest + TypeORM + Postgres + Docker

API with Typescript + Nest + TypeORM + Postgres + Docker

18
Comments 4
4 min read
Say Goodbye to Authentication Headaches with my ready-to-use Authentication Server

Say Goodbye to Authentication Headaches with my ready-to-use Authentication Server

1
Comments
2 min read
Essential Code Organization Principles

Essential Code Organization Principles

4
Comments
7 min read
How to use testing-library in Angular 15

How to use testing-library in Angular 15

4
Comments
2 min read
Creating (or attempting) to create an autocomplete with OpenAI ChatGPT.

Creating (or attempting) to create an autocomplete with OpenAI ChatGPT.

Comments
3 min read
Create a blog with Supabase and Next.js - part 5 - deployment

Create a blog with Supabase and Next.js - part 5 - deployment

1
Comments
2 min read
An in-depth comparison of the most popular DynamoDB wrappers

An in-depth comparison of the most popular DynamoDB wrappers

40
Comments 4
7 min read
The complete guide to env variable in react native

The complete guide to env variable in react native

46
Comments 3
3 min read
Migrating a Vite / React app from JavaScript to TypeScript

Migrating a Vite / React app from JavaScript to TypeScript

33
Comments 5
2 min read
Type Inference: How to Use Conditional Types and Generics

Type Inference: How to Use Conditional Types and Generics

22
Comments
3 min read
Semantic Search With Xata, OpenAI, TypeScript, and Deno

Semantic Search With Xata, OpenAI, TypeScript, and Deno

8
Comments
7 min read
Simple TypeScript Mutex Implementation

Simple TypeScript Mutex Implementation

10
Comments
2 min read
Embracing TypeScript Generics: A Lighthearted Guide to Flexible and Robust Code

Embracing TypeScript Generics: A Lighthearted Guide to Flexible and Robust Code

2
Comments
6 min read
Zod 101 - A Typescript-first Schema Validation Library

Zod 101 - A Typescript-first Schema Validation Library

14
Comments
8 min read
Importing ES 6 Modules from CommonJS

Importing ES 6 Modules from CommonJS

1
Comments
3 min read
Modern Next.js starter + folder architecture

Modern Next.js starter + folder architecture

2
Comments
1 min read
Advanced Typescript: Type Predicates, Narrowing & func Overrides.

Advanced Typescript: Type Predicates, Narrowing & func Overrides.

2
Comments 1
3 min read
How to publish common module with reusable functions to npm registry

How to publish common module with reusable functions to npm registry

Comments
4 min read
How to write your own zod

How to write your own zod

3
Comments
8 min read
Using custom Svelte stores

Using custom Svelte stores

1
Comments
5 min read
Fast Project Start with NestJS Boilerplate

Fast Project Start with NestJS Boilerplate

4
Comments
2 min read
Animated Spinner - React Native

Animated Spinner - React Native

4
Comments
2 min read
Spice Up Your Svelte App with Sound Interactions using svelte-sound 😎

Spice Up Your Svelte App with Sound Interactions using svelte-sound 😎

16
Comments
6 min read
Reactive user interface in Angular with RxJS

Reactive user interface in Angular with RxJS

3
Comments
4 min read
Create An EVM Compatible Blockchain Bridge——DB3 Network build in public weekly update (20230213-20230218)

Create An EVM Compatible Blockchain Bridge——DB3 Network build in public weekly update (20230213-20230218)

2
Comments
2 min read
From Tedious to Simple: Reshaping Your API Integration Experience with Zodios

From Tedious to Simple: Reshaping Your API Integration Experience with Zodios

12
Comments 1
10 min read
How I improve my skills in Typescript #5 : Satisfies operator

How I improve my skills in Typescript #5 : Satisfies operator

184
Comments 6
4 min read
TypeScript 5.0 for JavaScript devs

TypeScript 5.0 for JavaScript devs

3
Comments
2 min read
Is learning TypeScript worth it?

Is learning TypeScript worth it?

5
Comments 26
1 min read
Conditional Return Types: How to Return the Right Type

Conditional Return Types: How to Return the Right Type

40
Comments 16
2 min read
Create a blog with Supabase and Next.js - part 3 - fetching data

Create a blog with Supabase and Next.js - part 3 - fetching data

2
Comments
3 min read
Creating your first Discord bot using TypeScript

Creating your first Discord bot using TypeScript

92
Comments 4
4 min read
Flexiblly Extend Nested Structures - "Trees that Grow" in TypeScript

Flexiblly Extend Nested Structures - "Trees that Grow" in TypeScript

3
Comments
14 min read
loading...