@tsed/config
Version:
Configuration management for Ts.ED
9 lines (8 loc) • 530 B
TypeScript
import { type DotenvFlowConfigOptions } from "dotenv-flow";
import type { ConfigSourceOnChangeCB } from "../../interfaces/ConfigSource.js";
import { EnvsConfigSource, type EnvsConfigSourceOptions } from "../envs/EnvsConfigSource.js";
export type DotEnvsConfigSourceOptions = EnvsConfigSourceOptions & DotenvFlowConfigOptions;
export declare class DotEnvsConfigSource extends EnvsConfigSource<DotEnvsConfigSourceOptions> {
getAll(): Record<string, unknown>;
watch(onChange?: ConfigSourceOnChangeCB): Promise<() => void>;
}