初始化版本库,可用

This commit is contained in:
2021-01-28 10:17:21 +08:00
commit d2573c0b1c
1750 changed files with 41088 additions and 0 deletions

12
types/Common/Singleton.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
/**
* 构造单例类的静态类.
* # 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