DefinitelyTyped/types/electron-unhandled/index.d.ts
2018-07-23 12:17:32 -07:00

16 lines
450 B
TypeScript

// Type definitions for electron-unhandled 1.1
// Project: https://github.com/sindresorhus/electron-unhandled
// Definitions by: Olegs Jeremejevs <https://github.com/jeremejevs>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace unhandled {
interface Options {
logger?: (err: Error) => void;
showDialog?: boolean;
}
}
declare function unhandled(options?: unhandled.Options): void;
export = unhandled;