// Type definitions for server-destroy 1.0 // Project: https://github.com/isaacs/server-destroy#readme // Definitions by: Gyula Szalai // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// import * as http from "http"; declare module "http" { interface Server { destroy(callback?: () => void): void; } } declare function enableDestroy(server: http.Server): void; export = enableDestroy;