Is a simple interface for replace "[key: string]: T" or "[key: number]: T" or "{new(...any): T; }"
npm install --save gollumts-objecttype
import { ObjectString, ObjectNumber, ObjectConstructor } from 'gollumts-objecttype'
const objectString: ObjectString<T> = {}; // replace "const objectString: {[key: string]: T} = {};"
const objectNumber: ObjectNumber<T> = {}; // replace "const objectString: {[key: number]: T} = {};"
const objectConstructor: ObjectConstructor<T> = null; // replace "const objectConstructor: {new(): T; } = null;"