UNPKG

mezzanine

Version:

Fantasy land union types with pattern matching

13 lines (10 loc) 223 B
//@flow 'use strict' export type PropDescriptor<+Prop=*> = { configurable?: bool, enumerable?: bool, get?: () => Prop, value?: Prop, set?: (obj: Prop) => void, } export type Descriptor<T=*> = {[key: string]: T}