Interface AnyClass<Instance, Arguments>

Generic interface representing a class constructor.

AnyClass

interface AnyClass {
    new AnyClassnew (...args): Instance;
}

Type Parameters

  • Instance = any

    The type of the class instance.

  • Arguments extends any[] = any

    The type of the class constructor arguments.

Constructors

Constructors

  • Constructor signature for a class.

    Parameters

    • Rest ...args: Arguments

      The constructor arguments.

    Returns Instance

    • An instance of the class.

Generated using TypeDoc