diff --git a/index.d.ts b/index.d.ts index 2a3dee7..b005753 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,9 +1,9 @@ export type SIGNAL = "SIGSEGV" | string; -export type CrashCallback = (signal: SIGNAL, address: string, stack: string[]) => any; +export type CrashCallback = (signal: SIGNAL, address: string, stack: string[]) => void; export function registerHandler(): void; export function registerHandler(file: string): void; export function registerHandler(file: string, callback: CrashCallback): void; -export function causeSegfault(): void; \ No newline at end of file +export function causeSegfault(): void;