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.