Skip to content

Commit d80491a

Browse files
committed
Fixed the wrong signature of the 'autoSave.streamProvider' server option
1 parent b8c5ca0 commit d80491a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/server/WebDAVServerOptions.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export declare class WebDAVServerOptions {
2323
treeFilePath: string;
2424
tempTreeFilePath: string;
2525
onSaveError?: (error: Error) => void;
26-
streamProvider?: (stream: Writable, callback: () => void) => void;
26+
streamProvider?: (inputStream: Writable, callback: (outputStream?: Writable) => void) => void;
2727
};
2828
}
2929
export default WebDAVServerOptions;

src/server/WebDAVServerOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class WebDAVServerOptions
2929
treeFilePath : string
3030
tempTreeFilePath : string
3131
onSaveError ?: (error : Error) => void
32-
streamProvider ?: (stream : Writable, callback : () => void) => void
32+
streamProvider ?: (inputStream : Writable, callback : (outputStream ?: Writable) => void) => void
3333
} = null
3434
}
3535
export default WebDAVServerOptions;

0 commit comments

Comments
 (0)