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