mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 14:38:20 +08:00
iltorb callback return type set to void
This commit is contained in:
2
types/iltorb/index.d.ts
vendored
2
types/iltorb/index.d.ts
vendored
@@ -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