Stratal API Reference
    Preparing search index...

    Interface IConfigService<T>

    ConfigService interface with dot notation support

    interface IConfigService<T extends object = ModuleConfig> {
        all(): Readonly<T>;
        get<P extends string>(path: P): ConfigPathValue<T, P>;
        has(path: ConfigPath<T>): boolean;
        initialize(config: T): void;
        reset(path?: ConfigPath<T>): void;
        set<P extends string>(path: P, value: ConfigPathValue<T, P>): void;
    }

    Type Parameters

    Implemented by

    Index

    Methods