@meld-ts/core
    Preparing search index...

    Type Alias Constructor<T>

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

    new 调用的构造函数类型

    Type Parameters

    • T = object
    function create<T>(ctor: Constructor<T>): T {
    return new ctor();
    }