UNPKG

@nestjs/config

Version:

Nest - modern, fast, powerful node.js web framework (@config)

5 lines (4 loc) 242 B
import { ConfigObject } from '../types'; declare type ConfigFactoryReturnValue<T extends ConfigObject> = T | Promise<T>; export declare type ConfigFactory<T extends ConfigObject = ConfigObject> = () => ConfigFactoryReturnValue<T>; export {};