feat: 添加类型注释

This commit is contained in:
2025-01-20 16:05:50 +08:00
parent e5a4381b04
commit 60724a923e
27 changed files with 1364 additions and 249 deletions
+12
View File
@@ -0,0 +1,12 @@
import yaml from "yaml";
import fs from "fs";
/**
* 配置信息帮助类
*/
export default class ConfigHelper {
static config: any = null;
static initConfig() {
this.config = yaml.parse(fs.readFileSync("./config.yml").toString());
}
}