diff --git a/restify/index.d.ts b/restify/index.d.ts index 3888d58481..8a85283d93 100644 --- a/restify/index.d.ts +++ b/restify/index.d.ts @@ -462,6 +462,7 @@ interface ServerOptions { handleUpgrades?: boolean; router?: Router; httpsServerOptions?: any; + socketio?: boolean; } interface ClientOptions { diff --git a/restify/restify-tests.ts b/restify/restify-tests.ts index 147171ae29..aa5c7f0e91 100644 --- a/restify/restify-tests.ts +++ b/restify/restify-tests.ts @@ -27,7 +27,8 @@ server = restify.createServer({ spdy: {}, version: "", responseTimeHeader: "", - responseTimeFormatter : (durationInMilliseconds: number) => {} + responseTimeFormatter : (durationInMilliseconds: number) => {}, + socketio: false }); server.pre(restify.pre.sanitizePath());