From 63b3d353cd0983ccaf5f5d1610e7be9803045f4f Mon Sep 17 00:00:00 2001 From: Arturas Molcanovas Date: Sun, 19 Nov 2017 00:40:30 +0000 Subject: [PATCH] iltorb callback return type set to void --- types/iltorb/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/iltorb/index.d.ts b/types/iltorb/index.d.ts index ffec8bc6a6..bd6cd88fb7 100644 --- a/types/iltorb/index.d.ts +++ b/types/iltorb/index.d.ts @@ -16,7 +16,7 @@ export interface BrotliEncodeParams { size_hint?: number; } -export type IltorbCallback = (err: Error | null | undefined, output: Buffer) => any; +export type IltorbCallback = (err: Error | null | undefined, output: Buffer) => void; export function compress(buffer: Buffer, options: BrotliEncodeParams, callback: IltorbCallback): void; export function compress(buffer: Buffer, callback: IltorbCallback): void;