Sha256: 1ed55651f38540dba21f4a864bd89834ddb552446dce8c8a5f9dc0b44ce0b024

Contents?: true

Size: 1.06 KB

Versions: 16

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

16 entries across 16 versions & 3 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.18.2 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.16.1 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.15.2 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.18.4 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.18.1 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.14.0 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@types/node/ts3.2/fs.d.ts
enju_library-0.3.8 spec/dummy/node_modules/@types/node/ts3.2/fs.d.ts
condenser-0.2 lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts
condenser-0.1 lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts
condenser-0.0.12 lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts
condenser-0.0.11 lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts
condenser-0.0.10 lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts
condenser-0.0.9 lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts