#javascript

3 posts

How to pick and omit keys in TypeScript

Learn how to exclude and include properties from objects or arrays of objects in TypeScript as well as JavaScript.

How to write custom ESLint rules for your project

ESLint is a great tool for analyzing code, but it can be a bit of a hassle to set up when it comes to making your own rules. This is a quick guide on how to create a TypeScript ESLint plugin, write a custom rule, and write tests for it.

parseFloat vs Number: What's the Difference?

Picking a function to use for parsing numbers can be a confusing question to answer, so let's take a look at what exactly are the differences and similarities between these two functions.