NOTE: This guide is ONLY for devs who don't want to edit their
yarn.lock
file by hand. If you don't care about that please carry on.
So you've pulled the latest master
git checkout master
git pull
{ | |
"lerna": "2.11.0", | |
"version": "independent", | |
"npmClient": "yarn", | |
"useWorkspaces": true, | |
"command": { | |
"publish": { | |
"allowBranch": "master" | |
} | |
} |
NOTE: This guide is ONLY for devs who don't want to edit their
yarn.lock
file by hand. If you don't care about that please carry on.
So you've pulled the latest master
git checkout master
git pull
Variadic functions, such as the common zip
function on arrays, are convenient and remove the need for lots of specific arity-function variants, e.g., zip2
, zip3
, zip4
, etc. However, they can be difficult and tedious to type correctly in TypeScript when the return type depends on the parameter types, and the parameter types are heterogeneous.
Given a typical zip
on arrays:
const a: number[] = [1, 2, 3]
/* | |
* Copyright 2016, Matthieu Dumas | |
* This work is licensed under the Creative Commons Attribution 4.0 International License. | |
* To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ | |
*/ | |
/* Usage : | |
* var log = Logger.get("myModule") // .level(Logger.ALL) implicit | |
* log.info("always a string as first argument", then, other, stuff) | |
* log.level(Logger.WARN) // or ALL, DEBUG, INFO, WARN, ERROR, OFF |
Cato* | |
Logged Out* | |
log in -> Logged In | |
Logged In | |
log out -> Logged Out | |
Onboarding* | |
learn about Cato -> Documentation |
Cato* | |
Logged Out | |
log in -> Logged In | |
sign up -> User Registration | |
Logged In | |
log out -> Logged Out | |
onboard user -> Onboarding | |
Onboarding* |
Cato* | |
Logged Out | |
log in -> Logged In | |
sign up -> User Registration | |
Logged In | |
log out -> Logged Out | |
Onboarding* | |
learn about Cato -> Documentation |