@fluentity/core
    Preparing search index...

    Type Alias Constructor<T>

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

    Type representing a constructor function that creates instances of type T. Used for type-safe instantiation of model classes.

    Type Parameters

    • T = any

      The type that the constructor creates

    const UserConstructor: Constructor<User> = User;
    const user = new UserConstructor();