@nestjs/config
Version:
Nest - modern, fast, powerful node.js web framework (@config)
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;
}