Browse Source

fix: 配置类型修复

main
npmrun 5 months ago
parent
commit
8406699861
  1. 2
      src/main/modules/setting/index.ts

2
src/main/modules/setting/index.ts

@ -5,7 +5,7 @@ import { cloneDeep } from "lodash"
import { injectable } from "inversify"
import Config from "config"
type IConfig = any
type IConfig = typeof Config.default_config
type IOnFunc = (n: IConfig, c: IConfig, keys?: (keyof IConfig)[]) => void
type IT = (keyof IConfig)[] | keyof IConfig | "_"

Loading…
Cancel
Save