mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
memory-fs: Make options optional for createReadStream, createWriteStream
This commit is contained in:
Vendored
+2
-2
@@ -43,13 +43,13 @@ declare class MemoryFileSystem {
|
||||
writeFileSync(_path: string, content: string | Buffer, encoding?: string): void;
|
||||
|
||||
createReadStream(
|
||||
path: string, options: {
|
||||
path: string, options?: {
|
||||
start: number;
|
||||
end: number;
|
||||
}
|
||||
): any;
|
||||
|
||||
createWriteStream(path: string, options: any): any;
|
||||
createWriteStream(path: string, options?: any): any;
|
||||
|
||||
exists(path: string, callback: (isExist: boolean) => any): any;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user