mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #15504 from mrkmg/mz-fs-fix
Removed unneeded optional parameter from mz/fs lstat
This commit is contained in:
Vendored
+2
-2
@@ -142,7 +142,7 @@ export function stat(path: string | Buffer): Promise<fs.Stats>;
|
||||
* `lstat()` is identical to `stat()`, except that if path is a symbolic link, then the link itself
|
||||
* is stat-ed, not the file that it refers to.
|
||||
*/
|
||||
export function lstat(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, stats: fs.Stats) => any): void;
|
||||
export function lstat(path: string | Buffer, callback: (err: NodeJS.ErrnoException, stats: fs.Stats) => any): void;
|
||||
|
||||
/**
|
||||
* Asynchronous `lstat(2)`.
|
||||
@@ -502,4 +502,4 @@ export function access(path: string | Buffer, callback: (err: NodeJS.ErrnoExcept
|
||||
* @param path The path to access.
|
||||
* @param mode An optional integer that specifies the accessibility checks to be performed.
|
||||
*/
|
||||
export function access(path: string, mode?: number): Promise<void>;
|
||||
export function access(path: string, mode?: number): Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user