export type Constructor = new (...args: any[]) => T; export type AbstractConstructor = Function & { prototype: T; };