es-stl - v3.0.3
    Preparing search index...

    Type Alias AbstractConstructor<Instance, Args>

    AbstractConstructor: abstract new (...args: Args) => Instance

    Abstract or concrete class with typed constructor parameters and instances.

    Type Parameters

    • Instance = object

      Instance described by the constructor.

    • Args extends unknown[] = []

      Ordered constructor parameter types.

    abstract class Entity {
    constructor(readonly id: number) {}
    }
    const EntityClass: AbstractConstructor<Entity, [id: number]> = Entity;