File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export interface FsPromisesApi {
20
20
mkdtemp ( prefix : string , options ?: opts . IOptions ) : Promise < misc . TDataOut > ;
21
21
open ( path : misc . PathLike , flags ?: misc . TFlags , mode ?: misc . TMode ) : Promise < misc . IFileHandle > ;
22
22
opendir ( path : misc . PathLike , options ?: opts . IOpendirOptions ) : Promise < misc . IDir > ;
23
+ readableWebStream : ( options ?: opts . IReadableWebStreamOptions ) => ReadableStream ;
23
24
readdir ( path : misc . PathLike , options ?: opts . IReaddirOptions | string ) : Promise < misc . TDataOut [ ] | misc . IDirent [ ] > ;
24
25
readFile ( id : misc . TFileHandle , options ?: opts . IReadFileOptions | string ) : Promise < misc . TDataOut > ;
25
26
readlink ( path : misc . PathLike , options ?: opts . IOptions ) : Promise < misc . TDataOut > ;
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ export interface IFStatOptions {
32
32
33
33
export interface IAppendFileOptions extends IFileOptions { }
34
34
35
+ export interface IReadableWebStreamOptions {
36
+ type ?: 'bytes' | undefined ;
37
+ }
38
+
35
39
export interface IReaddirOptions extends IOptions {
36
40
recursive ?: boolean ;
37
41
withFileTypes ?: boolean ;
You can’t perform that action at this time.
0 commit comments