mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Vendored
+7
-7
@@ -351,13 +351,13 @@ declare module "zlib" {
|
||||
export interface InflateRaw extends stream.ReadWriteStream { }
|
||||
export interface Unzip extends stream.ReadWriteStream { }
|
||||
|
||||
export function createGzip(options: ZlibOptions): Gzip;
|
||||
export function createGunzip(options: ZlibOptions): Gunzip;
|
||||
export function createDeflate(options: ZlibOptions): Deflate;
|
||||
export function createInflate(options: ZlibOptions): Inflate;
|
||||
export function createDeflateRaw(options: ZlibOptions): DeflateRaw;
|
||||
export function createInflateRaw(options: ZlibOptions): InflateRaw;
|
||||
export function createUnzip(options: ZlibOptions): Unzip;
|
||||
export function createGzip(options?: ZlibOptions): Gzip;
|
||||
export function createGunzip(options?: ZlibOptions): Gunzip;
|
||||
export function createDeflate(options?: ZlibOptions): Deflate;
|
||||
export function createInflate(options?: ZlibOptions): Inflate;
|
||||
export function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
|
||||
export function createInflateRaw(options?: ZlibOptions): InflateRaw;
|
||||
export function createUnzip(options?: ZlibOptions): Unzip;
|
||||
|
||||
export function deflate(buf: NodeBuffer, callback: (error: Error, result: any) =>void ): void;
|
||||
export function deflateRaw(buf: NodeBuffer, callback: (error: Error, result: any) =>void ): void;
|
||||
|
||||
Reference in New Issue
Block a user