How to Squash the First Two Commits in a Git Repository
Git 1.7.12 introduced the --root
flag for the rebase
command that lets you rewrite all the history leading to a specific commit down to the root commit.
Git 1.7.12 introduced the --root
flag for the rebase
command that lets you rewrite all the history leading to a specific commit down to the root commit.
TypeScript 3.7 added support for the ??
operator, which is known as the nullish coalescing operator. We can use this operator to provide a fallback value for a value that might be null
or undefined
.
Different approaches for declaring a global variable in TypeScript.
In JavaScript, there are different approaches to concatenating multiple arrays into a single one. A comparison of push()
, concat()
, and spread syntax.
TypeScript 3.5 added an Omit<T, K>
helper type which lets us create an object type that omits specific properties from another object type.
In this post, I want to introduce you to ripgrep, a smart and fast command line search tool that I find myself using all the time when programming.
With TypeScript 3.4, const
assertions were added to the language. A const
assertion is a special kind of type assertion in which the const
keyword is used instead of a type name.
TypeScript 3.4 added a bit of syntactic sugar to the language that makes it easier to work with read-only array and tuple types.
TypeScript 3.2 added a new --showConfig
compiler flag to the tsc
executable. It calculates the effective tsconfig.json file and prints it to the console.
A quick explanation of how to set a specific Node.js version for an Azure DevOps build using the Node.js Tool Installer task.