Ctor type

Any class constructor, abstract ones included.

Signature:

export type Ctor = abstract new (...args: never[]) => unknown;

Remarks

This is the shape Validator accepts in place of a Zod schema — a class sealed by validatable(). never[] for the constructor parameters is deliberate: nothing in this package ever constructs the class, it serves only as a registry key, so never[] accepts every class regardless of what its constructor actually takes.

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