import { SettingsConfig } from "https://deno.land/x/smx@v0.6.0/src/modules/settings/config.ts";
Constructors
new
SettingsConfig(unnamed 0: { configFile: ConfigFile<T>; getObj?: (config: ConfigFile<T>) => SettingsObject; })Type Parameters
T extends BaseConfig
Properties
readonly
global: Readonly<Record<string, SettingValue>>Methods
del(key: string): void
get(key: string): Readonly<SettingValue>
has(key: string): boolean
save()
set(key: string, value: SettingValue): void