Blog

Page 483 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Extend Express Request object using Typescript
node.js

Extend Express Request object using Typescript

Published on September 2, 2023

# 🌟 Extending Express Request Object using TypeScript So, you want to add some extra properties to the Express request object in your TypeScript middleware, huh? šŸ¤” I feel you! It can be a bit tricky at first, but fear not! I'm here to guide you through

Cover Image for What does the "as const" mean in TypeScript and what is its use case?

What does the "as const" mean in TypeScript and what is its use case?

Published on September 2, 2023

# Understanding the "as const" in TypeScript: Unlocking the Power of Immutability šŸš€ Have you ever come across the mysterious "as const" keyword in TypeScript code? It might look like a strange incantation with little purpose, but fear not! In this blog p

Cover Image for TypeScript filter out nulls from an array
null

TypeScript filter out nulls from an array

Published on September 2, 2023

# A Quick Guide: Filtering Nulls from an Array in TypeScript šŸ“ *Hey there tech enthusiasts!* Welcome to another exciting blog post on our tech blog. Today, we're going to tackle a common problem in TypeScript - how to filter out nulls from an array. šŸš€

Cover Image for TypeScript, Looping through a dictionary
javascript

TypeScript, Looping through a dictionary

Published on September 2, 2023

# šŸš€ TypeScript Dictionary Looping: Easy Solutions for Your Code šŸš€ Hey there, tech enthusiasts! šŸ‘‹ Are you facing challenges with TypeScript's dictionaries? Don't worry, you're not alone! šŸ¤” Many developers have struggled with looping through dictionary k

Cover Image for Using eslint with typescript - Unable to resolve path to module

Using eslint with typescript - Unable to resolve path to module

Published on September 2, 2023

# Using eslint with TypeScript: Unable to Resolve Path to Module 🚧 Have you ever encountered the frustrating TypeScript error "Unable to resolve path to module"? šŸ¤” It's a common issue when using eslint with TypeScript and can cause headaches for develop

Cover Image for Is key-value pair available in Typescript?

Is key-value pair available in Typescript?

Published on September 2, 2023

šŸ”‘šŸ”„šŸ“ Hey there tech enthusiasts! šŸ‘‹ Are you ready to unlock the secrets of key-value pairs in TypeScript? šŸ—ļøšŸ’° Let's dive right in! šŸŠ So, the burning question is: Is key-value pair available in TypeScript? šŸ¤” The short answer is YES! TypeScript su

Cover Image for Hide .js.map files in Visual Studio Code: File Nesting

Hide .js.map files in Visual Studio Code: File Nesting

Published on September 2, 2023

## šŸ•µļøā€ā™‚ļø Hiding .js.map files in Visual Studio Code: File Nesting Are you tired of clutter in your Visual Studio Code file explorer? Do all those pesky `.js.map` files that clutter up your workspace make you want to scream? 😱 Well, fear not, because I'm

Cover Image for "parserOptions.project" has been set for @typescript-eslint/parser

"parserOptions.project" has been set for @typescript-eslint/parser

Published on September 2, 2023

# Troubleshooting the "parserOptions.project" Error in @typescript-eslint/parser Are you facing an error message saying "Parsing error: 'parserOptions.project' has been set for @typescript-eslint/parser. The file does not match your project config"? Don't

Cover Image for Create an enum with string values

Create an enum with string values

Published on September 2, 2023

# Creating an Enum with String Values in TypeScript Are you tired of using only number values in your enums? Do you want to have more flexibility and use string values instead? Look no further! In this blog post, we will dive into the world of TypeScript

Blog | Matheus Mello