DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Simple TypeScript tricks for scalable apps

Simple TypeScript tricks for scalable apps

8
Comments
4 min read
Storybook x React x Typescript | How to manage complex props with simple control

Storybook x React x Typescript | How to manage complex props with simple control

13
Comments
2 min read
Bad Habits of Mid-Level React Developers

Bad Habits of Mid-Level React Developers

464
Comments 66
8 min read
Let's build Launch Countdown Timer using Next.js & Tailwind CSS.

Let's build Launch Countdown Timer using Next.js & Tailwind CSS.

10
Comments
12 min read
🤡 AWS CDK 101 - 🤾‍♂ Using layers in Lambda functions and saving JSON to S3

🤡 AWS CDK 101 - 🤾‍♂ Using layers in Lambda functions and saving JSON to S3

12
Comments
5 min read
Instagram to Cloudinary

Instagram to Cloudinary

6
Comments 1
12 min read
Typescript e sua palavra-chave "type"

Typescript e sua palavra-chave "type"

8
Comments
3 min read
React Redux Tutorial Part 3 -- TypeScript の追加

React Redux Tutorial Part 3 -- TypeScript の追加

10
Comments
2 min read
How to make a static field accessible only in its class and subclasses in TypeScript?

How to make a static field accessible only in its class and subclasses in TypeScript?

4
Comments
2 min read
Replacing YAML with TypeScript

Replacing YAML with TypeScript

7
Comments
4 min read
Decouple Your Application Layer

Decouple Your Application Layer

9
Comments 1
7 min read
Shared state of a store among multiple clients in Svelte Kit using SSR

Shared state of a store among multiple clients in Svelte Kit using SSR

9
Comments
3 min read
Custom/Reusable Toggle Component (with Angular Animations)

Custom/Reusable Toggle Component (with Angular Animations)

13
Comments
5 min read
Fixing - Cannot find name '__dirname'.ts(2304)

Fixing - Cannot find name '__dirname'.ts(2304)

11
Comments
1 min read
Upgrading from Angular 8 to 13

Upgrading from Angular 8 to 13

6
Comments
8 min read
Basic View-Model: Simple Component-Architecture Workflow with Angular2

Basic View-Model: Simple Component-Architecture Workflow with Angular2

6
Comments
4 min read
How to make a static field accessible only in its class in TypeScript?

How to make a static field accessible only in its class in TypeScript?

4
Comments
2 min read
Check if an Object Contains all Keys in Array in Javascript

Check if an Object Contains all Keys in Array in Javascript

11
Comments
2 min read
ESlint + Prettier in VSCode for Typescript with React

ESlint + Prettier in VSCode for Typescript with React

11
Comments
4 min read
Adding URL Search Parameters to Imports!

Adding URL Search Parameters to Imports!

9
Comments 6
1 min read
Typesafe mockable globals in Vue3

Typesafe mockable globals in Vue3

5
Comments
3 min read
A better way to work with URLs using vueUse useFetch() + useUrl()

A better way to work with URLs using vueUse useFetch() + useUrl()

12
Comments
2 min read
Vue.js e os princípios do SOLID

Vue.js e os princípios do SOLID

12
Comments 1
11 min read
Mocking modules with jest and typescript

Mocking modules with jest and typescript

8
Comments
2 min read
How We Migrated from Javascript and Flow to TypeScript at Osome

How We Migrated from Javascript and Flow to TypeScript at Osome

136
Comments 20
6 min read
How to create methods that can be accessed without creating an instance of the class in TypeScript?

How to create methods that can be accessed without creating an instance of the class in TypeScript?

7
Comments
3 min read
Criando uma API de páginas estáticas básica com Deno 🦕

Criando uma API de páginas estáticas básica com Deno 🦕

9
Comments
8 min read
Notes on Advanced TypeScript: Transforming Types

Notes on Advanced TypeScript: Transforming Types

12
Comments 1
4 min read
How the TypeScript NonNullable Type Works

How the TypeScript NonNullable Type Works

9
Comments
1 min read
Upgrading to React 18 with TypeScript

Upgrading to React 18 with TypeScript

5
Comments
6 min read
My thoughts on the TypeScript debate

My thoughts on the TypeScript debate

4
Comments 1
2 min read
How to create fields that can be accessed without creating an instance of the class in TypeScript?

How to create fields that can be accessed without creating an instance of the class in TypeScript?

6
Comments
2 min read
How the TypeScript Parameters Type Works

How the TypeScript Parameters Type Works

10
Comments
3 min read
5 JavaScript Testing Mistakes to Avoid

5 JavaScript Testing Mistakes to Avoid

7
Comments
4 min read
I need suggestions for my web game

I need suggestions for my web game

8
Comments
1 min read
How our team member Jakub helped improve the DX of new Nuxt 3 CLI!

How our team member Jakub helped improve the DX of new Nuxt 3 CLI!

11
Comments
3 min read
Seamlessly offloading typescript compilation

Seamlessly offloading typescript compilation

22
Comments 5
8 min read
Generating SVG Art in your browser

Generating SVG Art in your browser

3
Comments 3
1 min read
Type hints on pure .js files

Type hints on pure .js files

21
Comments
2 min read
Keeping TypeScript Type Guards safe and up to date (a simpler solution)

Keeping TypeScript Type Guards safe and up to date (a simpler solution)

22
Comments 4
4 min read
This Week In React #103: Contentlayer, Remotion 3, Stale Closure, Cross-platform, Jest 28, Hydration, Netlify Edge Functions...

This Week In React #103: Contentlayer, Remotion 3, Stale Closure, Cross-platform, Jest 28, Hydration, Netlify Edge Functions...

6
Comments 1
9 min read
Interesting Next.js Questions

Interesting Next.js Questions

5
Comments
1 min read
How to create a react app with Go support using WebAssembly in under 60 seconds

How to create a react app with Go support using WebAssembly in under 60 seconds

9
Comments
4 min read
How to create an auth login system with axios interceptors (TypeScript) PART I

How to create an auth login system with axios interceptors (TypeScript) PART I

14
Comments 2
3 min read
MiuJS: a framework for building HTML applications packed with the minimum necessary functionality

MiuJS: a framework for building HTML applications packed with the minimum necessary functionality

4
Comments
5 min read
How to make class fields or methods accessible only to its class in TypeScript?

How to make class fields or methods accessible only to its class in TypeScript?

6
Comments
3 min read
Step-by-step to turn your fresh node project to use typescript

Step-by-step to turn your fresh node project to use typescript

7
Comments 2
2 min read
TypeScript 101

TypeScript 101

8
Comments
2 min read
Building a REST API with Prisma and express.js

Building a REST API with Prisma and express.js

13
Comments 1
5 min read
An Introduction to Vue 3 and Typescript: Component properties and events

An Introduction to Vue 3 and Typescript: Component properties and events

10
Comments
5 min read
Generics vs Function Overloading vs Union Type Arguments in TypeScript

Generics vs Function Overloading vs Union Type Arguments in TypeScript

16
Comments 3
6 min read
Como evitar SQL Injection no MongoDB

Como evitar SQL Injection no MongoDB

17
Comments 1
1 min read
Dependency Injection with Webpack and TypeScript

Dependency Injection with Webpack and TypeScript

7
Comments
2 min read
How to make class fields or methods accessible only to class and subclass in TypeScript?

How to make class fields or methods accessible only to class and subclass in TypeScript?

6
Comments
4 min read
Prisma now offers MongoDB Support!

Prisma now offers MongoDB Support!

18
Comments
3 min read
手を動かしながら学ぶ TypeScript Part 3 --高度な型

手を動かしながら学ぶ TypeScript Part 3 --高度な型

7
Comments
2 min read
Unknown type in typescript

Unknown type in typescript

6
Comments 1
1 min read
How to proper use ambient enum from Definition file

How to proper use ambient enum from Definition file

6
Comments 3
2 min read
Override Method Return with a Decorator

Override Method Return with a Decorator

12
Comments
3 min read
Sending Emails with SES, Terraform and TypeScript

Sending Emails with SES, Terraform and TypeScript

16
Comments 1
5 min read
loading...