Constructable

A type which describes a function which would return an instance of a class Typically, we call this the "new" method in a language.

Type Options
Constructable new (...args: Args) => T
Graycore, LLC © 2018 - 2025. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.