From 5ee6ff2ab51696b9dfa9eec0b168bf882e611720 Mon Sep 17 00:00:00 2001 From: Matthew Bull Date: Mon, 11 Dec 2017 23:54:17 +0000 Subject: [PATCH] Applied changes from feedback --- types/joi/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/joi/index.d.ts b/types/joi/index.d.ts index 3cfe54d9f6..7a41f238de 100644 --- a/types/joi/index.d.ts +++ b/types/joi/index.d.ts @@ -1071,8 +1071,7 @@ export function reach(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; // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---