@nestjs/config
Version:
Configuration for NestJS: load .env files and custom configuration, validate it at startup, and read it through an injectable ConfigService.
11 lines (10 loc) • 307 B
TypeScript
/**
* Represents a change in the configuration object.
* Dispatched when one updates the configuration object through the `ConfigService#set` method.
* @publicApi
*/
export interface ConfigChangeEvent<OldValue = any, NewValue = any> {
path: string;
oldValue: OldValue;
newValue: NewValue;
}