Applied changes from feedback

This commit is contained in:
Matthew Bull
2017-12-11 23:54:17 +00:00
parent 166d1a8b35
commit 5ee6ff2ab5

View File

@@ -1071,8 +1071,7 @@ export function reach<T extends Schema>(schema: ObjectSchema, path: string): T;
/**
* Creates a new Joi instance customized with the extension(s) you provide included.
*/
export function extend(extention: Extension|Extension[]): any;
export function extend(...extentions: (Extension|Extension[])[]): any;
export function extend(extension: Extension|Extension[], ...extensions: (Extension|Extension[])[]): any;
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---