mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
graceful-fs: Fix test (#24855)
This commit is contained in:
@@ -14,7 +14,7 @@ gfs.renameSync(str, str);
|
||||
gfs2.chmodSync(buf, 1);
|
||||
|
||||
const gracefulified = gfs.gracefulify(fs);
|
||||
gracefulified; // $ExpectType typeof "fs" & Lutimes
|
||||
const _fs: typeof fs = gracefulified;
|
||||
gracefulified.lutimes; // $ExpectType typeof lutimes
|
||||
promisify(gracefulified.lutimes); // $ExpectType (path: PathLike, atime: string | number | Date, mtime: string | number | Date) => Promise<void>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user