Skip to content

Instantly share code, notes, and snippets.

View richardbarrell-calvium's full-sized avatar

Richard Barrell richardbarrell-calvium

View GitHub Profile
@richardbarrell-calvium
richardbarrell-calvium / ExactSpread.js
Created February 22, 2018 15:56
Spread operator in flow - works better with $Exact<T> or with exact types
// @flow
type HaveHeyType = {
hey: number,
};
type HaveBeeType = {
bee: string,
};
type SpreadIsUselessType = {