File size: 980 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/// <reference types="node" />
import * as fs from 'fs';
import { readFileSync, existsSync, readdirSync, lstatSync, statSync, writeFileSync, appendFileSync, mkdirSync, symlinkSync, utimesSync } from 'fs';
declare function outputWrapper(node: any): outputWrapper.FSOutput;
export = outputWrapper;
declare namespace outputWrapper {
    interface FSOutput {
        readFileSync: typeof readFileSync;
        existsSync: typeof existsSync;
        lstatSync: typeof lstatSync;
        readdirSync: typeof readdirSync;
        statSync: typeof statSync;
        writeFileSync: typeof writeFileSync;
        appendFileSync: typeof appendFileSync;
        rmdirSync: (path: string, options?: {
            recursive?: boolean;
        }) => void;
        mkdirSync: typeof mkdirSync;
        unlinkSync: typeof fs.unlinkSync;
        symlinkOrCopySync: (srcPath: string, destPath: string) => void;
        symlinkSync: typeof symlinkSync;
        utimesSync: typeof utimesSync;
    }
}