13 lines
No EOL
511 B
TypeScript
13 lines
No EOL
511 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;
|
|
readdir: typeof fs.readdir;
|
|
readdirSync: typeof fs.readdirSync;
|
|
};
|
|
export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter;
|
|
export declare function createFileSystemAdapter(fsMethods?: Partial<FileSystemAdapter>): FileSystemAdapter;
|
|
//# sourceMappingURL=fs.d.ts.map
|