feat: init
This commit is contained in:
12
node_modules/http-shutdown/index.d.ts
generated
vendored
Normal file
12
node_modules/http-shutdown/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// Missing type definitions
|
||||
|
||||
import { Server } from 'net';
|
||||
|
||||
export = wrapShutdown;
|
||||
|
||||
interface WithShutdown extends Server {
|
||||
shutdown(cb: (err?: Error) => any): void;
|
||||
forceShutdown(cb: (err?: Error) => any): void;
|
||||
}
|
||||
|
||||
declare function wrapShutdown<S extends Server>(s: S): S & WithShutdown;
|
||||
Reference in New Issue
Block a user