We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c51dc5 commit d78a401Copy full SHA for d78a401
types/node/index.d.ts
@@ -510,7 +510,7 @@ declare namespace NodeJS {
510
type UnhandledRejectionListener = (reason: any, promise: Promise<any>) => void;
511
type WarningListener = (warning: Error) => void;
512
type MessageListener = (message: any, sendHandle: any) => void;
513
- type SignalsListener = () => void;
+ type SignalsListener = (signal: Signals) => void;
514
type NewListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void;
515
type RemoveListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void;
516
0 commit comments