DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Um Estudo Sobre Generics no TypeScript

Um Estudo Sobre Generics no TypeScript

7
Comments
4 min read
Integrating Cloud Entity with Next Auth

Integrating Cloud Entity with Next Auth

6
Comments 1
6 min read
Get all separate digits of a number (TypeScript)

Get all separate digits of a number (TypeScript)

5
Comments 4
1 min read
Beginner to Advanced Challenge - project 5, 6 & 7

Beginner to Advanced Challenge - project 5, 6 & 7

7
Comments
1 min read
Generate Types for Your GraphQL Schemas in 5 Minutes

Generate Types for Your GraphQL Schemas in 5 Minutes

9
Comments 2
3 min read
randomUUID in TypeScript

randomUUID in TypeScript

7
Comments 2
1 min read
Implementing the Language Server Protocol

Implementing the Language Server Protocol

8
Comments
4 min read
Bun - Ya esta aqui.

Bun - Ya esta aqui.

8
Comments
2 min read
How to extend enums in TypeScript

How to extend enums in TypeScript

10
Comments
7 min read
Angular & RxJS Tips #1: HttpClient & Async Pipe 01:55

Angular & RxJS Tips #1: HttpClient & Async Pipe

11
Comments
1 min read
Write once, run anywhere with Deno and Dnt

Write once, run anywhere with Deno and Dnt

7
Comments
14 min read
Unstated Next vs Redux, which is better for managing state in React

Unstated Next vs Redux, which is better for managing state in React

9
Comments 3
4 min read
Use TypeScript interface extends and type composition semantically

Use TypeScript interface extends and type composition semantically

7
Comments
1 min read
Sliders are like onions: three gradient layers of a single slider

Sliders are like onions: three gradient layers of a single slider

23
Comments
10 min read
Angular & RxJS Tips #5: Multiple Http calls - combineLatest vs forkJoin 02:05

Angular & RxJS Tips #5: Multiple Http calls - combineLatest vs forkJoin

8
Comments 2
1 min read
Angular & RxJS Tips #2: Higher Order Observables - switchMap vs mergeMap vs concatMap vs exhaustMap 07:01

Angular & RxJS Tips #2: Higher Order Observables - switchMap vs mergeMap vs concatMap vs exhaustMap

9
Comments
1 min read
Angular & RxJS Tips #3: HttpClient & Router Params 02:09

Angular & RxJS Tips #3: HttpClient & Router Params

8
Comments
1 min read
Create a React / TypeScript Generic Component

Create a React / TypeScript Generic Component

66
Comments 10
3 min read
React Native fixing typescript issue: "Type 'Timeout' is not assignable to type 'number'"

React Native fixing typescript issue: "Type 'Timeout' is not assignable to type 'number'"

5
Comments
1 min read
Type inference in mapped types: a rabbit hole and a technique to jump out

Type inference in mapped types: a rabbit hole and a technique to jump out

5
Comments
3 min read
Making the Properties of an Object Optional in Typescript

Making the Properties of an Object Optional in Typescript

13
Comments
1 min read
How to use <webview> and Measurement Protocol with Electron

How to use <webview> and Measurement Protocol with Electron

8
Comments
2 min read
Generic typing a hash-map with dynamic key and T array

Generic typing a hash-map with dynamic key and T array

10
Comments
1 min read
TypeScript Decorators

TypeScript Decorators

5
Comments
3 min read
How to add a class to just right added comment, not all of them

How to add a class to just right added comment, not all of them

5
Comments 1
4 min read
A quick review of the Fresh web framework

A quick review of the Fresh web framework

10
Comments 1
2 min read
NextJS. Use notFound in getStaticProps and some dynamic data? Don’t forget to revalidate!

NextJS. Use notFound in getStaticProps and some dynamic data? Don’t forget to revalidate!

7
Comments
3 min read
#3 Building Headless Commerce - Adding Search Engine with Algolia

#3 Building Headless Commerce - Adding Search Engine with Algolia

10
Comments
3 min read
Sample TodoApp in Fresh Deno framework

Sample TodoApp in Fresh Deno framework

22
Comments 1
18 min read
How to iterate over an object in Javascript?

How to iterate over an object in Javascript?

28
Comments 9
2 min read
The dark side of Record in TypeScript

The dark side of Record in TypeScript

13
Comments 2
3 min read
Setting up JWT Authentication in Typescript with Express, MongoDB, Babel, Prettier, ESLint, and Husky: Part 2

Setting up JWT Authentication in Typescript with Express, MongoDB, Babel, Prettier, ESLint, and Husky: Part 2

12
Comments 1
27 min read
Cleaner imports with aliases in react and typescript ✨✨

Cleaner imports with aliases in react and typescript ✨✨

24
Comments 1
2 min read
Why React Native TypeScript config recommends to use a five years old standard (lib: es2017)?

Why React Native TypeScript config recommends to use a five years old standard (lib: es2017)?

7
Comments
2 min read
Set up NextJS 12 with Typescript, Chakra UI, ESLint, Prettier, React Testing Library, Vitest and Playwright in VSCode in 2022

Set up NextJS 12 with Typescript, Chakra UI, ESLint, Prettier, React Testing Library, Vitest and Playwright in VSCode in 2022

16
Comments 2
6 min read
Very simple way to render star rating

Very simple way to render star rating

5
Comments 1
2 min read
How Typescript Enums Work

How Typescript Enums Work

24
Comments 4
3 min read
The Art of Transpilers - From One Programming Language to Another

The Art of Transpilers - From One Programming Language to Another

15
Comments 3
4 min read
Use playwright to download files from remote servers

Use playwright to download files from remote servers

5
Comments
2 min read
Create a React 18 / TypeScript bundle using esbuild

Create a React 18 / TypeScript bundle using esbuild

32
Comments
2 min read
Beginner to Advanced Challenge - project 4 (animated Christmas tree light app)

Beginner to Advanced Challenge - project 4 (animated Christmas tree light app)

7
Comments
1 min read
Beginner to Advanced Challenge - project 3 (calculator app)

Beginner to Advanced Challenge - project 3 (calculator app)

12
Comments
1 min read
How the typeof Operator works in TypeScript

How the typeof Operator works in TypeScript

11
Comments
2 min read
Typescript Numeric Literal Types How To Find Nth Root of X

Typescript Numeric Literal Types How To Find Nth Root of X

8
Comments
2 min read
Setting up Node JS, Express, Prettier, ESLint and Husky Application with Babel and Typescript: Part 1

Setting up Node JS, Express, Prettier, ESLint and Husky Application with Babel and Typescript: Part 1

14
Comments
19 min read
Showing MapBox map with React. 🗺️

Showing MapBox map with React. 🗺️

20
Comments 3
11 min read
Typescript Numeric Literal Types How To X^N (Exponentiation)

Typescript Numeric Literal Types How To X^N (Exponentiation)

9
Comments 1
2 min read
React hooks: useSessionStorage and useLocalStorage

React hooks: useSessionStorage and useLocalStorage

19
Comments 3
1 min read
TypeScript string literal type concatenation

TypeScript string literal type concatenation

14
Comments 6
3 min read
Flatbread 🥪 - consume relational, flat-file data using GraphQL in any static framework

Flatbread 🥪 - consume relational, flat-file data using GraphQL in any static framework

9
Comments
4 min read
tsParticles 2.1.3 Released

tsParticles 2.1.3 Released

21
Comments
1 min read
POV - Why Angular or React to web applications?

POV - Why Angular or React to web applications?

11
Comments 8
3 min read
TypeScript Generics 101

TypeScript Generics 101

9
Comments
2 min read
Getting Started with React Navigation v6 and TypeScript in React Native

Getting Started with React Navigation v6 and TypeScript in React Native

8
Comments
10 min read
Code Snippet: How to avoid calling a function twice until its task has finished

Code Snippet: How to avoid calling a function twice until its task has finished

5
Comments 1
1 min read
How To Access Page Props in All Components with Next.js and TypeScript

How To Access Page Props in All Components with Next.js and TypeScript

5
Comments
8 min read
TypeScript Cheat sheet

TypeScript Cheat sheet

20
Comments
2 min read
Typescript Numeric Literal Types How To Y / X (Division)

Typescript Numeric Literal Types How To Y / X (Division)

9
Comments
1 min read
Fixing a Promise return object to be typed in Typescript

Fixing a Promise return object to be typed in Typescript

11
Comments
3 min read
Singleton Decorator

Singleton Decorator

15
Comments
1 min read
loading...