Skip to content

Commit 42c490e

Browse files
🤖 dprint fmt
1 parent 7769d72 commit 42c490e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

types/yazl/index.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export interface Options {
1212
compressionLevel: number;
1313
}
1414

15-
1615
export interface FileOptions extends Options {
1716
fileComment: string;
1817
}
@@ -41,8 +40,15 @@ export class ZipFile extends EventEmitter {
4140
addFile(realPath: string, metadataPath: string, options?: Partial<FileOptions>): void;
4241
outputStream: NodeJS.ReadableStream;
4342
addReadStream(input: NodeJS.ReadableStream, metadataPath: string, options?: Partial<ReadStreamOptions>): void;
44-
addReadStreamLazy(metadataPath: string, getReadStreamFunction: (cb: (err: any, readStream: NodeJS.ReadableStream) => void) => void): void;
45-
addReadStreamLazy(metadataPath: string, options: Partial<ReadStreamOptions>, getReadStreamFunction: (cb: (err: any, readStream: NodeJS.ReadableStream) => void) => void): void;
43+
addReadStreamLazy(
44+
metadataPath: string,
45+
getReadStreamFunction: (cb: (err: any, readStream: NodeJS.ReadableStream) => void) => void,
46+
): void;
47+
addReadStreamLazy(
48+
metadataPath: string,
49+
options: Partial<ReadStreamOptions>,
50+
getReadStreamFunction: (cb: (err: any, readStream: NodeJS.ReadableStream) => void) => void,
51+
): void;
4652
addBuffer(buffer: Buffer, metadataPath: string, options?: Partial<Options>): void;
4753
end(options?: EndOptions, calculatedTotalSizeCallback?: () => void): void;
4854

0 commit comments

Comments
 (0)