@@ -12,14 +12,14 @@ declare module '@isomorphic-git/lightning-fs' {
1212 * @param filepath
1313 * @param options
1414 */
15- mkdir ( filepath : string , options : FS . MKDirOptions | undefined ) : Promise < never >
15+ mkdir ( filepath : string , options : FS . MKDirOptions | undefined ) : Promise < void >
1616
1717 /**
1818 * Remove directory
1919 * @param filepath
2020 * @param options
2121 */
22- rmdir ( filepath : string , options : undefined ) : Promise < never >
22+ rmdir ( filepath : string , options : undefined ) : Promise < void >
2323
2424 /**
2525 * Read directory
@@ -31,7 +31,7 @@ declare module '@isomorphic-git/lightning-fs' {
3131 */
3232 readdir ( filepath : string , options : undefined ) : Promise < string [ ] >
3333
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 >
3535
3636 readFile ( filepath : string , options : FS . ReadFileOptions | undefined | string ) : Promise < Uint8Array >
3737
@@ -40,14 +40,14 @@ declare module '@isomorphic-git/lightning-fs' {
4040 * @param filepath
4141 * @param options
4242 */
43- unlink ( filepath : string , options : undefined ) : Promise < never >
43+ unlink ( filepath : string , options : undefined ) : Promise < void >
4444
4545 /**
4646 * Rename a file or directory
4747 * @param oldFilepath
4848 * @param newFilepath
4949 */
50- rename ( oldFilepath : string , newFilepath : string ) : Promise < never >
50+ rename ( oldFilepath : string , newFilepath : string ) : Promise < void >
5151
5252 /**
5353 * 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' {
6868 * @param target
6969 * @param filepath
7070 */
71- symlink ( target : string , filepath : string ) : Promise < never >
71+ symlink ( target : string , filepath : string ) : Promise < void >
7272
7373 /**
7474 * Read the target of a symlink.
@@ -83,7 +83,7 @@ declare module '@isomorphic-git/lightning-fs' {
8383 * @param filepath
8484 * @param options
8585 */
86- backFile ( filepath : string , options : FS . BackFileOptions | undefined ) : Promise < never >
86+ backFile ( filepath : string , options : FS . BackFileOptions | undefined ) : Promise < void >
8787
8888 /**
8989 * @param filepath
0 commit comments