select is optional here (#16157)

This commit is contained in:
Eric Eslinger
2017-05-03 14:28:14 -07:00
committed by Mohamed Hegazy
parent 5fcbda7c01
commit cc56f233d4
+2 -2
View File
@@ -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[]
};