@@ -12,14 +12,14 @@ declare module '@isomorphic-git/lightning-fs' {
12
12
* @param filepath
13
13
* @param options
14
14
*/
15
- mkdir ( filepath : string , options : FS . MKDirOptions | undefined ) : Promise < never >
15
+ mkdir ( filepath : string , options : FS . MKDirOptions | undefined ) : Promise < void >
16
16
17
17
/**
18
18
* Remove directory
19
19
* @param filepath
20
20
* @param options
21
21
*/
22
- rmdir ( filepath : string , options : undefined ) : Promise < never >
22
+ rmdir ( filepath : string , options : undefined ) : Promise < void >
23
23
24
24
/**
25
25
* Read directory
@@ -31,7 +31,7 @@ declare module '@isomorphic-git/lightning-fs' {
31
31
*/
32
32
readdir ( filepath : string , options : undefined ) : Promise < string [ ] >
33
33
34
- writeFile ( filepath : string , data : Uint8Array | string , options : FS . WriteFileOptions | undefined | string ) : Promise < never >
34
+ writeFile ( filepath : string , data : Uint8Array | string , options : FS . WriteFileOptions | undefined | string ) : Promise < void >
35
35
36
36
readFile ( filepath : string , options : FS . ReadFileOptions | undefined | string ) : Promise < Uint8Array >
37
37
@@ -40,14 +40,14 @@ declare module '@isomorphic-git/lightning-fs' {
40
40
* @param filepath
41
41
* @param options
42
42
*/
43
- unlink ( filepath : string , options : undefined ) : Promise < never >
43
+ unlink ( filepath : string , options : undefined ) : Promise < void >
44
44
45
45
/**
46
46
* Rename a file or directory
47
47
* @param oldFilepath
48
48
* @param newFilepath
49
49
*/
50
- rename ( oldFilepath : string , newFilepath : string ) : Promise < never >
50
+ rename ( oldFilepath : string , newFilepath : string ) : Promise < void >
51
51
52
52
/**
53
53
* The result is a Stat object similar to the one used by Node but with fewer and slightly different properties and methods.
@@ -68,7 +68,7 @@ declare module '@isomorphic-git/lightning-fs' {
68
68
* @param target
69
69
* @param filepath
70
70
*/
71
- symlink ( target : string , filepath : string ) : Promise < never >
71
+ symlink ( target : string , filepath : string ) : Promise < void >
72
72
73
73
/**
74
74
* Read the target of a symlink.
@@ -83,7 +83,7 @@ declare module '@isomorphic-git/lightning-fs' {
83
83
* @param filepath
84
84
* @param options
85
85
*/
86
- backFile ( filepath : string , options : FS . BackFileOptions | undefined ) : Promise < never >
86
+ backFile ( filepath : string , options : FS . BackFileOptions | undefined ) : Promise < void >
87
87
88
88
/**
89
89
* @param filepath
0 commit comments