Sha256: 12b2608d6074167c331c9c3c6994a57819f6ff934c7fd4527e23aabf56d4c8d1

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

// tslint:disable-next-line:no-bad-reference
/// <reference path="../fs.d.ts" />

declare module 'fs' {
    interface BigIntStats extends StatsBase<bigint> {
    }

    class BigIntStats {
        atimeNs: bigint;
        mtimeNs: bigint;
        ctimeNs: bigint;
        birthtimeNs: bigint;
    }

    interface BigIntOptions {
        bigint: true;
    }

    interface StatOptions {
        bigint: boolean;
    }

    function stat(path: PathLike, options: BigIntOptions, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void;
    function stat(path: PathLike, options: StatOptions, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void;

    namespace stat {
        function __promisify__(path: PathLike, options: BigIntOptions): Promise<BigIntStats>;
        function __promisify__(path: PathLike, options: StatOptions): Promise<Stats | BigIntStats>;
    }

    function statSync(path: PathLike, options: BigIntOptions): BigIntStats;
    function statSync(path: PathLike, options: StatOptions): Stats | BigIntStats;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
condenser-0.3 lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts