DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Liskov Substitution Principle in TypeScript

Liskov Substitution Principle in TypeScript

Reactions 4 Comments
1 min read
Open/Closed Principle in TypeScript

Open/Closed Principle in TypeScript

Reactions 4 Comments
1 min read
Working with v-model in Vue 3

Working with v-model in Vue 3

Comments
1 min read
Typescript boilerplate test configuration with mocha, chai and sinon

Typescript boilerplate test configuration with mocha, chai and sinon

Reactions 5 Comments
1 min read
Rich text and images with Contentful, Next.js and Zod

Rich text and images with Contentful, Next.js and Zod

Comments
4 min read
The bot for BNG bank

The bot for BNG bank

Reactions 4 Comments
2 min read
Angular: Design Pop Over

Angular: Design Pop Over

Reactions 4 Comments
1 min read
Typescript Series - Readonly Utility Type

Typescript Series - Readonly Utility Type

Comments
2 min read
Install Tailwind Plugins + Vite + Typescript + Tailwind CSS 3

Install Tailwind Plugins + Vite + Typescript + Tailwind CSS 3

Comments
3 min read
AWS CDK Frontend Pipeline (Cross Account)

AWS CDK Frontend Pipeline (Cross Account)

Reactions 3 Comments
2 min read
Testing nested Stacks in AWS CDK 2

Testing nested Stacks in AWS CDK 2

Reactions 2 Comments
1 min read
Version 2.10 of Foal is out!

Version 2.10 of Foal is out!

Reactions 5 Comments
1 min read
React TS: Don't repeat the type when you pass functions as props, use their types.

React TS: Don't repeat the type when you pass functions as props, use their types.

Reactions 10 Comments 1
2 min read
Building a Saas in public with Typescript!

Building a Saas in public with Typescript!

Reactions 2 Comments
2 min read
Pushing the limits of TypeScript

Pushing the limits of TypeScript

Comments
3 min read
Typescript Series - First and Last of Array Type

Typescript Series - First and Last of Array Type

Comments 1
1 min read
How to create your own React Components library

How to create your own React Components library

Reactions 1 Comments
3 min read
How To Use A TypeScript Interface?

How To Use A TypeScript Interface?

Comments 1
4 min read
Replace empty string to undefined value in Object (JS)

Replace empty string to undefined value in Object (JS)

Reactions 2 Comments
1 min read
Typescript Series - Tuple to Object

Typescript Series - Tuple to Object

Comments
2 min read
Understanding Excess Property Checking in Typescript

Understanding Excess Property Checking in Typescript

Reactions 4 Comments 1
2 min read
What Does "!" Symbol Mean in Typescript?

What Does "!" Symbol Mean in Typescript?

Reactions 2 Comments
2 min read
tsParticles 2.2.2 Released

tsParticles 2.2.2 Released

Reactions 16 Comments
1 min read
Custom Error Class in Angular 12+

Custom Error Class in Angular 12+

Reactions 3 Comments
3 min read
Get a video URL from Twitter API v2

Get a video URL from Twitter API v2

Reactions 9 Comments 1
5 min read
Componentizando com React

Componentizando com React

Reactions 4 Comments
5 min read
Default Exports vs Named Exports

Default Exports vs Named Exports

Comments
1 min read
How i setup neovim for speed up React, Js, Ts, etc

How i setup neovim for speed up React, Js, Ts, etc

Reactions 2 Comments
4 min read
Typescript Series - Pick Utility Type

Typescript Series - Pick Utility Type

Comments
2 min read
How to scan barcodes in your React.js application

How to scan barcodes in your React.js application

Reactions 1 Comments
4 min read
Question - Add values from an array brought from firebase and display them in a label

Question - Add values from an array brought from firebase and display them in a label

Comments
1 min read
Node.js TypeScript monorepo via NPM workspaces

Node.js TypeScript monorepo via NPM workspaces

Comments
4 min read
The flexible way to adopt UX/UI in Angular app according to user’s permissions.

The flexible way to adopt UX/UI in Angular app according to user’s permissions.

Reactions 5 Comments
6 min read
TypeScript: Typing React useRef hook

TypeScript: Typing React useRef hook

Reactions 3 Comments
4 min read
Efficiently read files in a directory with Node.js opendir

Efficiently read files in a directory with Node.js opendir

Reactions 5 Comments
2 min read
Rescript bindings for Typescript union types

Rescript bindings for Typescript union types

Reactions 3 Comments
1 min read
Typing React Components: React.FC or JSX.Element?

Typing React Components: React.FC or JSX.Element?

Reactions 7 Comments
2 min read
How to Build A Shopify Embed App with VueJs, Tailwind CSS, NodeJs and Laravel

How to Build A Shopify Embed App with VueJs, Tailwind CSS, NodeJs and Laravel

Reactions 8 Comments
4 min read
How to use React memoization hooks for increased performance

How to use React memoization hooks for increased performance

Reactions 1 Comments
4 min read
Create an Enum representation in JavaScript using Proxy object.

Create an Enum representation in JavaScript using Proxy object.

Reactions 8 Comments 3
5 min read
Single Responsibility Principle in TypeScript

Single Responsibility Principle in TypeScript

Reactions 23 Comments 6
1 min read
Weighted 🏋️ Random generator in Typescript (with Test Driven Development 🧪)

Weighted 🏋️ Random generator in Typescript (with Test Driven Development 🧪)

Reactions 20 Comments
4 min read
Quill Forms | New open source Typeform alternative based on React JS and Typescript

Quill Forms | New open source Typeform alternative based on React JS and Typescript

Reactions 5 Comments
1 min read
Auto import with type

Auto import with type

Reactions 4 Comments
1 min read
React & GraphQL with MVP

React & GraphQL with MVP

Reactions 18 Comments
8 min read
Lit: how to use it

Lit: how to use it

Reactions 3 Comments
2 min read
i18n management made easy

i18n management made easy

Reactions 2 Comments 2
1 min read
Advantages of using typed useSelector hook

Advantages of using typed useSelector hook

Comments
1 min read
Typescript When You Should Mix Type Alias And Interface

Typescript When You Should Mix Type Alias And Interface

Reactions 3 Comments
2 min read
Typescript Caveat 3: Type of Key is `string` if Key is Template Literal `a/${string}`

Typescript Caveat 3: Type of Key is `string` if Key is Template Literal `a/${string}`

Reactions 3 Comments
1 min read
Tailwindcss intellisense doesn't work in tsx file.

Tailwindcss intellisense doesn't work in tsx file.

Reactions 3 Comments
1 min read
Typescript Union Keys And Make Uncommon Keys Optional

Typescript Union Keys And Make Uncommon Keys Optional

Reactions 3 Comments
1 min read
Implement NodeJS Logging like a Pro!

Implement NodeJS Logging like a Pro!

Reactions 14 Comments
7 min read
Frontline: Preparing Grounds

Frontline: Preparing Grounds

Reactions 3 Comments
3 min read
Promises and Events: Some Pitfalls and Workarounds

Promises and Events: Some Pitfalls and Workarounds

Reactions 7 Comments
8 min read
How to use the 'in' operator to narrow down the properties and methods of an object with union type in TypeScript?

How to use the 'in' operator to narrow down the properties and methods of an object with union type in TypeScript?

Reactions 3 Comments
3 min read
Testing a contact form with Cypress

Testing a contact form with Cypress

Reactions 1 Comments
4 min read
An alternative way of creating enumerations in Typescript

An alternative way of creating enumerations in Typescript

Reactions 6 Comments
2 min read
How to optimise and customise your Contentful images with TypeScript

How to optimise and customise your Contentful images with TypeScript

Reactions 4 Comments
5 min read
Create a Static Class in Typescript

Create a Static Class in Typescript

Reactions 4 Comments
1 min read
loading...