Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add additional type safety for unhandledRejection #7719
Flow version: 0.98.1
Process methods which listen for unhandledRejection should have additional type information. The argument should be
Anything can pass through the callback to unhandledRejection, including non-Error objects. Perhaps by default the type could be
Hello, not sure if something like this is possible, but it would definitely help prevent bugs if so.