From cc56f233d44579541bfebb98f223d2300c314d2d Mon Sep 17 00:00:00 2001 From: Eric Eslinger Date: Wed, 3 May 2017 14:28:14 -0700 Subject: [PATCH] select is optional here (#16157) --- types/hapi/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/hapi/index.d.ts b/types/hapi/index.d.ts index d4c8861a78..7ac280569a 100644 --- a/types/hapi/index.d.ts +++ b/types/hapi/index.d.ts @@ -2295,7 +2295,7 @@ export class Server extends Events.EventEmitter { register( plugins: any | any[], options: { - select: string | string[]; + select?: string | string[]; routes: { prefix: string; vhost?: string | string[] }; @@ -2304,7 +2304,7 @@ export class Server extends Events.EventEmitter { register( plugins: any | any[], options: { - select: string | string[]; + select?: string | string[]; routes: { prefix: string; vhost?: string | string[] };