1 | type DeferFunction<T,R> = (this: any, origValue: T) => R;
|
2 |
|
3 | /*
|
4 | * Allows a config value to be deferred for later. The original config object is passed
|
5 | * into func as "this".
|
6 | * See: https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#deferred-values-in-javascript-configuration-files
|
7 | */
|
8 | export function deferConfig<T, R>(func: DeferFunction<T,R>): R;
|