forked from Mirrors/doipjs
11 lines
437 B
TypeScript
11 lines
437 B
TypeScript
|
/// <reference types="node" />
|
||
|
import * as fs from 'fs';
|
||
|
export declare type FileSystemAdapter = {
|
||
|
lstat: typeof fs.lstat;
|
||
|
stat: typeof fs.stat;
|
||
|
lstatSync: typeof fs.lstatSync;
|
||
|
statSync: typeof fs.statSync;
|
||
|
};
|
||
|
export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter;
|
||
|
export declare function createFileSystemAdapter(fsMethods?: Partial<FileSystemAdapter>): FileSystemAdapter;
|
||
|
//# sourceMappingURL=fs.d.ts.map
|