/** * Flowtype definitions for types * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ // see https://gist.github.com/thecotne/6e5969f4aaf8f253985ed36b30ac9fe0 type $FlowGen$If = $Call< ((true, Then, Else) => Then) & ((false, Then, Else) => Else), X, Then, Else >; type $FlowGen$Assignable = $Call< ((...r: [B]) => true) & ((...r: [A]) => false), A >; export type Maybe = T | null | void; export type Writable = $ObjMapi< T,

( P ) => $FlowGen$If< $FlowGen$Assignable<$ElementType, { [key: string]: any }>, Writable<$ElementType>, $ElementType > >; export type RemoveUndefined = $ObjMapi< T, (K) => Exclude<$ElementType, void> >; export type Left = { tag: "left", error: E, ... }; export type Right = { tag: "right", value: T, ... }; export type Either = Left | Right; export type MaybePromise = $FlowGen$If< $FlowGen$Assignable, Promise, T >;