Forem

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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

14
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 4
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

33
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
loading...