DefinitelyTyped/types/death
Pranay Prakash 2e748a87c2
🤖 Merge PR #46270 Fix types for npm package death by @pranaygp
* Fix types for npm package `death`

when using `uncaughtException: true`, the handler actually receives an `Error` and an `origin` instead of a signal. 

furhtermore, SIGHUP is not supported:

see:
f9453b68b8/lib/death.js (L2-L7)
f9453b68b8/lib/death.js (L31)
https://nodejs.org/api/process.html#process_event_uncaughtexception

* add tests

* prettier
2020-08-11 15:02:37 -04:00
..
death-tests.ts
index.d.ts
tsconfig.json
tslint.json