[convict] Config.get() doesn't require a parameter

This commit is contained in:
Eli Young 2017-06-05 13:59:23 -07:00
parent a53ef98cd4
commit 752bb5aaee
2 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ if (conf.has('key')) {
});
}
conf.get();
conf.getSchema();
conf.getProperties();
conf.getSchemaString();

View File

@ -53,7 +53,7 @@ declare namespace convict {
* @returns the current value of the name property. name can use dot
* notation to reference nested values
*/
get(name: string): any;
get(name?: string): any;
/**
* @returns the default value of the name property. name can use dot
* notation to reference nested values