mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[convict] Config.get() doesn't require a parameter
This commit is contained in:
parent
a53ef98cd4
commit
752bb5aaee
@ -129,6 +129,7 @@ if (conf.has('key')) {
|
||||
});
|
||||
}
|
||||
|
||||
conf.get();
|
||||
conf.getSchema();
|
||||
conf.getProperties();
|
||||
conf.getSchemaString();
|
||||
|
||||
2
types/convict/index.d.ts
vendored
2
types/convict/index.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user