DefinitelyTyped/types/config
Eitan Levi 72d72bb016 [config] Add types for 'defer' and 'raw' features of node-config (#39249)
* [config] Add types for 'defer' and 'raw' features of node-config

This change adds type definitions for the `raw` and `defer` features of
[node-config](https://github.com/lorenwest/node-config/).

The `raw` function is a wrapper that prevents node-config from
processing the object and making it immutable, useful for things like
stdout ([documentation
here](https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#using-promises-processstdout-and-other-objects-in-javascript-config-files)).

The `defer` function allows a value to be deferred until after the rest
of the config functions were resolved. [Documentation
Here](https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#deferred-values-in-javascript-configuration-files).

* Add test for rawValue config
2019-10-23 16:58:49 -07:00
..
config-tests.ts
defer.d.ts
index.d.ts
raw.d.ts
tsconfig.json
tslint.json