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

4.3.4 • Public • Published

Installation

npm install --save @types/gulp-image

Summary

This package contains type definitions for gulp-image (https://github.com/1000ch/gulp-image#readme).

Details

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

index.d.ts

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

import stream = require("stream");

export = GulpImage;

declare function GulpImage(options?: GulpImage.Options): stream.Transform;

declare namespace GulpImage {
    type OptimizerSetting =
        | boolean
        | any[];

    interface Options {
        pngquant?: OptimizerSetting | undefined;
        optipng?: OptimizerSetting | undefined;
        zopflipng?: OptimizerSetting | undefined;
        jpegRecompress?: OptimizerSetting | undefined;
        mozjpeg?: OptimizerSetting | undefined;
        guetzli?: OptimizerSetting | undefined;
        gifsicle?: OptimizerSetting | undefined;
        svgo?: OptimizerSetting | undefined;
        concurrent?: number | undefined;
        quiet?: boolean | undefined;
    }
}

Additional Details

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

Credits

These definitions were written by Aankhen.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-image

Weekly Downloads

232

Version

4.3.4

License

MIT

Unpacked Size

4.14 kB

Total Files

5

Last publish

Collaborators

  • types