index.d.ts 657 B

1234567891011121314151617181920
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. import * as fs from 'node:fs';
  9. import { Path, virtualFs } from '../../src';
  10. /**
  11. * A Sync Scoped Host that creates a temporary directory and scope to it.
  12. */
  13. export declare class TempScopedNodeJsSyncHost extends virtualFs.ScopedHost<fs.Stats> {
  14. protected _sync?: virtualFs.SyncDelegateHost<fs.Stats>;
  15. protected _root: Path;
  16. constructor();
  17. get files(): Path[];
  18. get root(): Path;
  19. get sync(): virtualFs.SyncDelegateHost<fs.Stats>;
  20. }