@types/gulp-cached
TypeScript icon, indicating that this package has built-in type declarations

0.0.36 • Public • Published

Installation

npm install --save @types/gulp-cached

Summary

This package contains type definitions for gulp-cached (https://github.com/wearefractal/gulp-cached).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-cached.

index.d.ts

/// <reference types="node"/>

interface ICacheStore {
    [name: string]: {};
}

interface IOptions {
    /**
     * Uses md5 instead of storing the whole file contents.
     * @default false
     */
    optimizeMemory?: boolean | undefined;
}

interface IGulpCached {
    /**
     * Creates a new cache hash or uses an existing one.
     */
    (name: string, options?: IOptions): NodeJS.ReadWriteStream;

    /**
     * Cache store.
     */
    caches: ICacheStore;
}

declare const cached: IGulpCached;
export = cached;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Thomas Corbière.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-cached

Weekly Downloads

2,066

Version

0.0.36

License

MIT

Unpacked Size

3.69 kB

Total Files

5

Last publish

Collaborators

  • types