You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
418 B

4 years ago
  1. /// <reference types="node" />
  2. import * as fs from 'fs';
  3. export interface FileSystemAdapter {
  4. lstat: typeof fs.lstat;
  5. stat: typeof fs.stat;
  6. lstatSync: typeof fs.lstatSync;
  7. statSync: typeof fs.statSync;
  8. }
  9. export declare const FILE_SYSTEM_ADAPTER: FileSystemAdapter;
  10. export declare function getFileSystemAdapter(fsMethods?: Partial<FileSystemAdapter>): FileSystemAdapter;
  11. //# sourceMappingURL=fs.d.ts.map