Skip to content

getConfigSources

@tsed/config

Usage

typescript
import { getConfigSources } from "@tsed/config";

See /packages/config/src/types/utils/getConfigSources.ts.

Overview

ts
function getConfigSources(configSources: (Type<ConfigSource<any>> | ConfigSourceOptions)[]): Map<string, ConfigSourceOptions<any> & {
    instance: ConfigSource<any>;
    data: Record<string, any>;
}>;

instance

ts
instance: ConfigSource<any>;

data

ts
data: Record<string, any>;

Released under the MIT License.