Stratal API Reference
    Preparing search index...

    Type Alias Constructor<T>

    Constructor: new (...args: any[]) => T

    Generic type for class constructors

    Represents a class that can be instantiated with any arguments. Useful for dependency injection and dynamic class resolution.

    Type Parameters

    • T extends object = object
    const controllers: Constructor<Controller>[] = [
    UsersController,
    ProductsController
    ]