mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
6 lines
227 B
TypeScript
6 lines
227 B
TypeScript
import * as unhandled from "electron-unhandled";
|
|
|
|
unhandled({ logger: 'foo' }); // $ExpectError
|
|
unhandled({ showDialog: 'bar' }); // $ExpectError
|
|
unhandled({ logger: (err: Error) => {}, showDialog: true }); // $ExpectType void
|