IModelClass type

Names a model class by the instance type it produces.

Signature:

export type IModelClass<T extends BaseModel<T>> = new () => T;

References: BaseModel

Remarks

Used where a helper takes a model class rather than an instance. The constructor is declared without arguments because the type is there to identify a class, not to build anything with it — sequelize instantiates models itself.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.