mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08:00
handleUpgrades option support in ServerOptions interface
http://restify.com/#creating-a-server In restify docs createServer method supports handleUpgrades parameter in ServerOptions object, but it's not present in the type's interface.
This commit is contained in:
1
restify/restify.d.ts
vendored
1
restify/restify.d.ts
vendored
@@ -110,6 +110,7 @@ declare module "restify" {
|
||||
version ?: string;
|
||||
responseTimeHeader ?: string;
|
||||
responseTimeFormatter ?: (durationInMilliseconds: number) => any;
|
||||
handleUpgrades ?: boolean;
|
||||
}
|
||||
|
||||
interface ClientOptions {
|
||||
|
||||
Reference in New Issue
Block a user