A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://blog.mariusschulz.com/2017/02/04/TypeScript-2-1-literal-type-widening below:

Home — Marius Schulz

Recent Articles Keyboard Shortcuts for Jumping and Deleting in iTerm2

June 5, 2022

How to configure familiar keyboard shortcuts for common navigation and edit actions in the iTerm2 command prompt, such as jumping to the start or end of a word or line.

Assertion Functions in TypeScript

February 13, 2022

TypeScript 3.7 implemented support for assertion functions in the type system. An assertion function is a function that throws an error if something unexpected happened. Using assertion signatures, we can tell TypeScript that a function should be treated as an assertion function.

Optional Chaining: The ?. Operator in TypeScript

August 2, 2021

TypeScript 3.7 added support for the ?. operator, also known as the optional chaining operator. We can use this operator to descend into an object whose properties potentially hold the values null or undefined without writing any null checks for intermediate properties.

How to Squash the First Two Commits in a Git Repository

November 1, 2020

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.

Nullish Coalescing: The ?? Operator in TypeScript

August 6, 2020

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.

Declaring Global Variables in TypeScript

April 14, 2020

Different approaches for declaring a global variable in TypeScript.

Concatenating Arrays in JavaScript

March 31, 2020

In JavaScript, there are different approaches to concatenating multiple arrays into a single one. A comparison of push(), concat(), and spread syntax.

The Omit Helper Type in TypeScript

March 28, 2020

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.

Fast Searching with ripgrep

March 19, 2020

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.

Const Assertions in Literal Expressions in TypeScript

December 15, 2019

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4