# Installation
> `npm install --save @types/server-destroy`

# Summary
This package contains type definitions for server-destroy (https://github.com/isaacs/server-destroy#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/server-destroy.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/server-destroy/index.d.ts)
````ts
/// <reference types="node" />

import * as net from "net";

declare module "net" {
    interface Server {
        destroy(callback?: (err?: Error) => void): void;
    }
}

declare function enableDestroy(server: net.Server): void;

export = enableDestroy;

````

### Additional Details
 * Last updated: Fri, 23 Aug 2024 18:08:51 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Gyula Szalai](https://github.com/gyszalai).
