UNPKG

@jiaxinjiang/nest-config

Version:

Configuration component for NestJs.

15 lines (14 loc) 389 B
import { DotenvConfigOptions } from 'dotenv'; export interface ModuleConfig { [key: string]: any; } export interface Config { [key: string]: ModuleConfig; } export declare type CustomHelper = { [key: string]: (...args: any[]) => any; }; export interface ConfigOptions extends Partial<DotenvConfigOptions> { modifyConfigName?: (name: string) => string; path?: string; }