mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
config redirect
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import fs from 'fs';
|
||||
export type FsError = Error & {
|
||||
code?: string;
|
||||
path?: string;
|
||||
};
|
||||
export { chmodSync, mkdirSync, readdirSync, renameSync, rmdirSync, rmSync, statSync, unlinkSync, } from 'fs';
|
||||
export declare const promises: {
|
||||
chmod: (path: fs.PathLike, mode: fs.Mode) => Promise<void>;
|
||||
mkdir: (path: fs.PathLike, options?: fs.Mode | (fs.MakeDirectoryOptions & {
|
||||
recursive?: boolean | null;
|
||||
}) | undefined | null) => Promise<string | undefined>;
|
||||
readdir: (path: fs.PathLike) => Promise<string[]>;
|
||||
rename: (oldPath: fs.PathLike, newPath: fs.PathLike) => Promise<void>;
|
||||
rm: (path: fs.PathLike, options: fs.RmOptions) => Promise<void>;
|
||||
rmdir: (path: fs.PathLike) => Promise<void>;
|
||||
stat: (path: fs.PathLike) => Promise<fs.Stats>;
|
||||
unlink: (path: fs.PathLike) => Promise<void>;
|
||||
};
|
||||
Reference in New Issue
Block a user