patchFs.d.ts 338 B

1234567
  1. /// <reference types="node" />
  2. /// <reference types="node" />
  3. import fs from 'fs';
  4. import { FakeFS } from '../FakeFS';
  5. import { NativePath } from '../path';
  6. export declare function patchFs(patchedFs: typeof fs, fakeFs: FakeFS<NativePath>): void;
  7. export declare function extendFs(realFs: typeof fs, fakeFs: FakeFS<NativePath>): typeof fs;