webcad-ue4-api/types/Common/Singleton.d.ts

12 lines
287 B
TypeScript
Raw Normal View History

2021-01-28 10:17:21 +08:00
/**
* .
* # Example:
* class A extends Singleton(){};
* //获得单例
* let a = A.GetInstance();
*/
export declare class Singleton {
protected constructor();
static GetInstance<T = any>(): T;
}
//# sourceMappingURL=Singleton.d.ts.map