DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Using Predicate Combinators in Typescript

Using Predicate Combinators in Typescript

2
Comments
2 min read
How to Setup Path Alias in a React Native TypeScript App

How to Setup Path Alias in a React Native TypeScript App

8
Comments
2 min read
Writing Shell Scripts in JavaScript with ZX

Writing Shell Scripts in JavaScript with ZX

2
Comments
3 min read
Custom React Hook to Check Nested Child Component Types

Custom React Hook to Check Nested Child Component Types

4
Comments 1
1 min read
“hi18n”, a TypeScript-first internationalization library — getting started guide

“hi18n”, a TypeScript-first internationalization library — getting started guide

6
Comments
5 min read
Use fake static classes to protect your namespace (js/ts)

Use fake static classes to protect your namespace (js/ts)

11
Comments 4
2 min read
Storyblok React SDK – now with TypeScript support 🎉

Storyblok React SDK – now with TypeScript support 🎉

6
Comments
2 min read
React App File Structure.

React App File Structure.

15
Comments
5 min read
Turn on TS flag evolutionarily

Turn on TS flag evolutionarily

7
Comments
2 min read
Vite: Import path alias only setting tsconfig.json

Vite: Import path alias only setting tsconfig.json

31
Comments 4
1 min read
How to build a multi step form in Vue

How to build a multi step form in Vue

29
Comments 2
5 min read
I recreated the classic tetris game with react and zustand

I recreated the classic tetris game with react and zustand

13
Comments 1
1 min read
React Native - How to build a simple and scalable app theming strategy

React Native - How to build a simple and scalable app theming strategy

11
Comments
8 min read
React Native - How to approach design collaboration with Figma

React Native - How to approach design collaboration with Figma

10
Comments
8 min read
Question mark features in JavaScript

Question mark features in JavaScript

12
Comments 1
3 min read
Typescript Get Undiscriminating Union Object Type from Array of Object Literal

Typescript Get Undiscriminating Union Object Type from Array of Object Literal

10
Comments 2
2 min read
This Week In React #109: React Labs, Linaria, React-Aria, Design System, Ladle, Sandpack, Redwood, React-Native, Moon...

This Week In React #109: React Labs, Linaria, React-Aria, Design System, Ladle, Sandpack, Redwood, React-Native, Moon...

9
Comments
9 min read
Create a Google Chrome extension with ReactJS

Create a Google Chrome extension with ReactJS

46
Comments 13
1 min read
Why you should not use class-validator in NestJS!

Why you should not use class-validator in NestJS!

18
Comments 3
5 min read
Uma prosa sobre Orientação a Objetos: Classes

Uma prosa sobre Orientação a Objetos: Classes

16
Comments
4 min read
Data Consistency with Webhook Functions

Data Consistency with Webhook Functions

7
Comments
3 min read
O começo

O começo

3
Comments 1
5 min read
Useful types: Build a route tree with TypeScript

Useful types: Build a route tree with TypeScript

11
Comments
3 min read
What's new in P42? Summer 2022

What's new in P42? Summer 2022

7
Comments
5 min read
stdout: Type Guards and Narrowing in Typescript

stdout: Type Guards and Narrowing in Typescript

6
Comments
2 min read
Introdução ao SOLID - Princípios L e I

Introdução ao SOLID - Princípios L e I

14
Comments
4 min read
How to use serverless functions on Netlify (JS/TS)

How to use serverless functions on Netlify (JS/TS)

23
Comments
6 min read
A new OAuth2 client for Javascript

A new OAuth2 client for Javascript

15
Comments 1
2 min read
JavaScript to TypeScript | Complete Guide with React ⚛️

JavaScript to TypeScript | Complete Guide with React ⚛️

65
Comments 4
6 min read
A better way to create Swagger Docs for Koa APIs using decorators?

A better way to create Swagger Docs for Koa APIs using decorators?

12
Comments 3
5 min read
Revive your JSON (examples with TDD and composition)

Revive your JSON (examples with TDD and composition)

19
Comments 1
8 min read
Storyblok SDKs for Vue 2 and 3 – now with TypeScript support

Storyblok SDKs for Vue 2 and 3 – now with TypeScript support

8
Comments 1
1 min read
Fetching data and creating a custom hook. 🪝

Fetching data and creating a custom hook. 🪝

62
Comments 10
10 min read
Working with emits in Vue 3 + Typescript

Working with emits in Vue 3 + Typescript

16
Comments 1
1 min read
Building TypeScript ORM

Building TypeScript ORM

13
Comments
2 min read
The Power of Pissing Code, and its Place in Answering the Age-Old Question: “TypeScript, or JavaScript?”

The Power of Pissing Code, and its Place in Answering the Age-Old Question: “TypeScript, or JavaScript?”

7
Comments
3 min read
Convert any type into boolean — JS

Convert any type into boolean — JS

7
Comments
1 min read
Type-safe event handling in Typescript with zod and ts-pattern

Type-safe event handling in Typescript with zod and ts-pattern

19
Comments 1
6 min read
Creating a Reusable Tab Component in Vue

Creating a Reusable Tab Component in Vue

25
Comments
5 min read
How to test your typescript utility types

How to test your typescript utility types

11
Comments
3 min read
How to convert a String to a Number in TypeScript

How to convert a String to a Number in TypeScript

10
Comments
1 min read
How to get the Full URL in Express on Node.js

How to get the Full URL in Express on Node.js

14
Comments 2
1 min read
Making your own Express Middleware

Making your own Express Middleware

12
Comments
4 min read
How Template Literal Types work in TypeScript

How Template Literal Types work in TypeScript

12
Comments
2 min read
Redux Best Practices

Redux Best Practices

10
Comments
7 min read
How Intrinsic Type Manipulations work in TypeScript

How Intrinsic Type Manipulations work in TypeScript

7
Comments
2 min read
Own higher order functions implementation using TypeScript

Own higher order functions implementation using TypeScript

5
Comments
2 min read
Uma prosa sobre Orientação a Objetos!

Uma prosa sobre Orientação a Objetos!

8
Comments
2 min read
Event Emitter with Typescript- Advanced Usage

Event Emitter with Typescript- Advanced Usage

15
Comments
4 min read
Don't hard code a function's name anymore

Don't hard code a function's name anymore

13
Comments
2 min read
tsParticles 2.1.0 Released

tsParticles 2.1.0 Released

16
Comments
1 min read
Identifying code with Typescript compiler

Identifying code with Typescript compiler

6
Comments
4 min read
TypeScript Naming Convention

TypeScript Naming Convention

5
Comments 5
1 min read
Calling your APIs with hooks in react 🧑🏽‍💻

Calling your APIs with hooks in react 🧑🏽‍💻

24
Comments 2
4 min read
Custom Tooltip Component using Angular's Style Directive and Coordinates from Web APIs MouseEvent

Custom Tooltip Component using Angular's Style Directive and Coordinates from Web APIs MouseEvent

18
Comments
9 min read
Haciendo un fetching de datos y creando un custom hook. 🪝

Haciendo un fetching de datos y creando un custom hook. 🪝

22
Comments 1
10 min read
Storyblok/Svelte - now with TypeScript support 🎉

Storyblok/Svelte - now with TypeScript support 🎉

11
Comments 2
2 min read
ใช้ node module 2 version ใน project เดียวกัน

ใช้ node module 2 version ใน project เดียวกัน

7
Comments
1 min read
Design Patterns in Angular (part I)

Design Patterns in Angular (part I)

89
Comments 4
7 min read
Upgrade material ui 4 makeStyles and withStyles to material ui 5 using emotion JS with TS

Upgrade material ui 4 makeStyles and withStyles to material ui 5 using emotion JS with TS

9
Comments
3 min read
loading...