When you use the utility Partial on a type, it will make all the type properties optional. Let's see how we can compose this utility with another one, Omit, to make optional only certain properties of this type. We'll finally create a utility type using TypeScript generics to apply this on any type we want.… Continue reading TypeScript: make selected properties optional with Partial & Omit
Category: JavaScript
Resources, tutorials, articles about JavaScript, Node.js, Deno, TypeScript, React, Jest, Enzyme and other JavaScript-based front and back end technologies.
How to create a Bidirectional Map in JavaScript
How to create a Firebase login and sign up in React
How to compile Rust into WebAssembly and run it in Deno
Testing JavaScript in WordPress plugins – JavaScript for WP
How to properly create and publish a Deno CLI tool
New Angular TypeScript support changes in version 10
5 reasons why Deno will stop using TypeScript
5 cutting edge JavaScript features to improve your code
How to create GitHub issues 5 times faster
GitHub issues are fantastic to track new features or bugs, who is assigned, categorize them, adding to projects and so on. At the same time, they're also quite slow to create and creating a bunch of them consumes too much time. I was tired of the slow process of creating a GitHub issue manually, so I built a free open source app to make the process much faster.