UNPKG

682 BTypeScriptView Raw
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.io/license
7 */
8/// <reference types="node" />
9import * as fs from 'fs';
10import { Path, virtualFs } from '../../src';
11/**
12 * A Sync Scoped Host that creates a temporary directory and scope to it.
13 */
14export declare class TempScopedNodeJsSyncHost extends virtualFs.ScopedHost<fs.Stats> {
15 protected _sync?: virtualFs.SyncDelegateHost<fs.Stats>;
16 protected _root: Path;
17 constructor();
18 get files(): Path[];
19 get root(): Path;
20 get sync(): virtualFs.SyncDelegateHost<fs.Stats>;
21}