Sha256: 7d16e92952614a58672f8d4b22dabbe44b38ebcf045543db9ecb30f92e22e9bb
Contents?: true
Size: 601 Bytes
Versions: 24
Compression:
Stored size: 601 Bytes
Contents
declare const hardRejection: { /** Make unhandled promise rejections fail hard right away instead of the default [silent fail](https://gist.github.com/benjamingr/0237932cee84712951a2). @param log - Custom logging function to print the rejected promise. Receives the error stack. Default: `console.error`. */ (log?: (stack?: string) => void): void; // TODO: Remove this for the next major release, refactor the whole definition to: // declare function hardRejection(log?: (stack?: string) => void): void; // export = hardRejection; default: typeof hardRejection; }; export = hardRejection;
Version data entries
24 entries across 24 versions & 1 rubygems