Blog

Page 435 of my articles, tutorials, and thoughts

Latest Articles

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

Cover Image for TypeScript - use correct version of setTimeout (node vs window)

TypeScript - use correct version of setTimeout (node vs window)

Published on September 2, 2023

# TypeScript - Use the Correct Version of `setTimeout` (Node vs. Window) ā±ļøšŸ–„ļø Are you working on upgrading some old TypeScript code and running into trouble with a call to `setTimeout`? šŸš§šŸ˜« In TypeScript, the `setTimeout` function can have different ty

Cover Image for typescript - cloning object
javascript

typescript - cloning object

Published on September 2, 2023

šŸš€šŸ“ A Guide to Cloning Objects in TypeScript šŸ”„ Cloning objects with TypeScript can be tricky, especially when dealing with nested objects and inheritance. In this blog post, we'll address a common issue when trying to clone objects and provide easy solu

Cover Image for Get keys of a Typescript interface as array of strings
javascript

Get keys of a Typescript interface as array of strings

Published on September 2, 2023

# Getting Keys of a TypeScript Interface as an Array of Strings Are you struggling to extract the property names of a TypeScript interface and store them in an array of strings? Don't worry, we've got you covered! In this blog post, we will address this c