mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
iltorb callback return type set to void
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user