[add] first

This commit is contained in:
2023-02-22 09:50:51 +08:00
commit 6260e95bc8
9053 changed files with 4492644 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
export class Singleton {
private static _instance: any = null;
public static get Instance() {
if (!this._instance) {
this._instance = new this();
}
return this._instance;
}
public init() {}
public clear() {
Singleton._instance = null;
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "f3e08382-b420-4a5d-8f37-0a3326c65402",
"files": [],
"subMetas": {},
"userData": {}
}