mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Allow Filepath (String) To Json Schema In Convict Constructor (#20274)
This commit is contained in:
parent
a0c42fa0c2
commit
86aefa7ce6
4
types/convict/index.d.ts
vendored
4
types/convict/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for convict 4.0
|
||||
// Type definitions for convict 4.1
|
||||
// Project: https://github.com/mozilla/node-convict
|
||||
// Definitions by: Wim Looman <https://github.com/Nemo157>
|
||||
// Vesa Poikajärvi <https://github.com/vesse>
|
||||
@ -118,7 +118,7 @@ declare namespace convict {
|
||||
interface convict {
|
||||
addFormat(format: convict.Format): void;
|
||||
addFormats(formats: { [name: string]: convict.Format }): void;
|
||||
(config: convict.Schema): convict.Config;
|
||||
(config: convict.Schema | string): convict.Config;
|
||||
}
|
||||
declare var convict: convict;
|
||||
export = convict;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user