Function classToInvokablePrivate

  • Private

    Wraps a constructor to not need the new keyword using a proxy. Only used for data types.

    Returns

    Wrapped class instance.

    Type Parameters

    • Class extends (new (...args: any[]) => any)

    Parameters

    • constructor: Class

      The class instance to wrap as invocable.

    Returns Callable<Class>

Generated using TypeDoc