UNPKG

429 BTypeScriptView Raw
1/* The raw function returns an object as-is instead of passing it through processes that will make the object immutable.
2 * See: https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#using-promises-processstdout-and-other-objects-in-javascript-config-files
3 */
4
5export class RawConfig<T> {
6 constructor(rawObj: T);
7 resolve(): T;
8}
9
10export function raw<T>(obj: T): RawConfig<T>;