Pick
is a very useful helper type that allows you to create a type by using an existing type as a starting point.
Say, for example, your codebase has a type that looks like this:
interface Pokemon {
name: string;
type: string;
const enum Finger { | |
LeftPinky = 1, | |
LeftRing = 2, | |
LeftMiddle = 3, | |
LeftIndex = 4, | |
Thumb = 5, | |
RightIndex = 6, | |
RightMiddle = 7, | |
RightRing = 8, |
// ==UserScript== | |
// @name DisplaySpecifications user-select | |
// @version 0.1 | |
// @author Dimitri Mitropoulos | |
// @match https://www.displayspecifications.com/* | |
// @grant none | |
// ==/UserScript== | |
(() => { | |
const addGlobalStyle = css => { |
{"lastUpload":"2018-11-08T00:55:19.129Z","extensionVersion":"v3.2.0"} |
Open a terminal. (Ctrl+Alt+T)
Become root:
sudo -i
Install the Python package:
I hereby claim:
To claim this, I am signing this object: