/** * Hf helper type for a dictionary-like object with arbitrary keys. */ declare interface Obj<T = any> { [key: string]: T } type Extend<T, U = any> = T & Obj<U>;