@buka/nestjs-config
Version:
An easy to use nestjs config module
14 lines (13 loc) • 343 B
TypeScript
import { ConfigLoader } from '../types/config-loader.interface.js';
interface DotenvLoaderOptions {
/**
* @default '__'
*/
separator?: string;
/**
* @default true
*/
jsonParse?: boolean;
}
export declare function dotenvLoader(filepath: string, loaderOptions?: DotenvLoaderOptions): ConfigLoader;
export {};