export interface IMap { [key: string]: T; } export interface Constructor { new (...args: any[]): T; }