Skip to content

YamlConfigSource

@tsed/config

Usage

typescript
import { YamlConfigSource } from "@tsed/config/src/types/providers/yaml/YamlConfigSource";

See /packages/config/src/types/providers/yaml/YamlConfigSource.ts.

Overview

ts
class YamlConfigSource implements ConfigSource<YamlConfigSourceOptions> {
    options: YamlConfigSourceOptions;
    getAll(): Promise<Record<string, unknown>>;
    watch(onChange: () => void): () => void;
}

options

ts
options: YamlConfigSourceOptions;

getAll

ts
getAll(): Promise<Record<string, unknown>>;

watch

ts
watch(onChange: () => void): () => void;

Released under the MIT License.