DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
'onSticky' Event hook in React

'onSticky' Event hook in React

1
Comments
6 min read
Extracting Class Methods: How To Derive an Interface From a Class

Extracting Class Methods: How To Derive an Interface From a Class

24
Comments 1
3 min read
Running both nodejs and bun apps in turborepo

Running both nodejs and bun apps in turborepo

19
Comments 1
4 min read
Typescript Type Level Custom Error Message, Move Runtime Error to Compile time Error!

Typescript Type Level Custom Error Message, Move Runtime Error to Compile time Error!

2
Comments
4 min read
Singleton Design Pattern in TypeScript with Decorator

Singleton Design Pattern in TypeScript with Decorator

12
Comments
2 min read
TypeScript vs JavaScript: Why Should You Learn TypeScript?

TypeScript vs JavaScript: Why Should You Learn TypeScript?

2
Comments
3 min read
I wrote a programming language with ChatGTP. Our jobs are safe.

I wrote a programming language with ChatGTP. Our jobs are safe.

1
Comments
4 min read
Reusable Header component for React Native

Reusable Header component for React Native

6
Comments
2 min read
Building Robust Angular Applications with TypeScript Interfaces: Best Practices and Examples

Building Robust Angular Applications with TypeScript Interfaces: Best Practices and Examples

10
Comments 1
6 min read
Part 1 of 3 TypeScript Tricks I wish I knew when I started learning TypeScript

Part 1 of 3 TypeScript Tricks I wish I knew when I started learning TypeScript

Comments
2 min read
CSV validation with zod

CSV validation with zod

17
Comments
4 min read
How to write the right API client in TypeScript

How to write the right API client in TypeScript

96
Comments 14
6 min read
Spies and mocking with Node.js test runner (node:test)

Spies and mocking with Node.js test runner (node:test)

5
Comments
3 min read
React with TypeScript: 10 Pro Tips to Supercharge Your Code

React with TypeScript: 10 Pro Tips to Supercharge Your Code

25
Comments 6
3 min read
How to TRULY persist component state using a custom hook - useQueryParam

How to TRULY persist component state using a custom hook - useQueryParam

1
Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.