refactor: use setup refactor

This commit is contained in:
xiaoxian521
2021-09-19 01:12:46 +08:00
parent 85f4917f26
commit afff1d677b
18 changed files with 128 additions and 106 deletions

View File

@@ -1,6 +1,6 @@
let config: object = {};
const setConfig = (cfg?: any) => {
const setConfig = (cfg?: unknown) => {
config = Object.assign(config, cfg);
};